Fix hhvm?
This commit is contained in:
parent
46db12e308
commit
8b6e6ddcb7
@ -4,6 +4,7 @@ filter:
|
|||||||
- tests/*
|
- tests/*
|
||||||
- vendor/*
|
- vendor/*
|
||||||
- application/third_party/*
|
- application/third_party/*
|
||||||
|
- system/*
|
||||||
|
|
||||||
imports:
|
imports:
|
||||||
- php
|
- php
|
||||||
|
@ -28,7 +28,7 @@ class FriendModelTest extends Todo_TestCase {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
$expected = [
|
$expected = [
|
||||||
7 => array (
|
array (
|
||||||
'user_friend_id' => '1',
|
'user_friend_id' => '1',
|
||||||
'uid' => '7',
|
'uid' => '7',
|
||||||
'username' => 'timw4mail',
|
'username' => 'timw4mail',
|
||||||
@ -41,7 +41,7 @@ class FriendModelTest extends Todo_TestCase {
|
|||||||
),
|
),
|
||||||
];
|
];
|
||||||
$actual = $this->CI->friend_model->get_friends();
|
$actual = $this->CI->friend_model->get_friends();
|
||||||
$this->assertEquals($expected, $actual);
|
$this->assertEquals($expected, array_values($actual));
|
||||||
|
|
||||||
// Now test a lack of friends
|
// Now test a lack of friends
|
||||||
$this->CI->session->set_userdata([
|
$this->CI->session->set_userdata([
|
||||||
|
Loading…
Reference in New Issue
Block a user