Do you wish to register an account?
瀏覽代碼

Fix hhvm?

master
Timothy Warren 5 年之前
父節點
當前提交
8b6e6ddcb7
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. +1
    -0
      .scrutinizer.yml
  2. +2
    -2
      tests/models/FriendModelTest.php

+ 1
- 0
.scrutinizer.yml 查看文件

@@ -4,6 +4,7 @@ filter:
- tests/*
- vendor/*
- application/third_party/*
- system/*

imports:
- php


+ 2
- 2
tests/models/FriendModelTest.php 查看文件

@@ -28,7 +28,7 @@ class FriendModelTest extends Todo_TestCase {
]);
$expected = [
7 => array (
array (
'user_friend_id' => '1',
'uid' => '7',
'username' => 'timw4mail',
@@ -41,7 +41,7 @@ class FriendModelTest extends Todo_TestCase {
),
];
$actual = $this->CI->friend_model->get_friends();
$this->assertEquals($expected, $actual);
$this->assertEquals($expected, array_values($actual));
// Now test a lack of friends
$this->CI->session->set_userdata([


Loading…
取消
儲存