Skip to content

Instantly share code, notes, and snippets.

@tonymet
Created May 15, 2014 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonymet/56df2031d20a8ab28dab to your computer and use it in GitHub Desktop.
Save tonymet/56df2031d20a8ab28dab to your computer and use it in GitHub Desktop.
Time: 47.53 seconds, Memory: 369.25Mb
There were 4 failures:
1) APIPlaylistsTest::testUpdateItems
Failed asserting that false is true.
/data/sites/boomrat_api/app/tests/APIPlaylistsTest.php:227
2) APIPlaylistsTest::testBustCollectionCache
Failed asserting that Model\Collection Object (
'table' => 'collections'
'useCache' => true
'statuses' => 'active,inactive,deleted,pending'
'visible' => Array (
0 => 'id'
1 => 'title'
2 => 'description'
3 => 'items'
4 => 'status'
5 => 'editable'
)
'dbcols' => Array (
0 => 'collections.id'
1 => 'collections.title'
2 => 'collections.description'
3 => 'collections.status'
4 => 'collections.editable'
)
'fillable' => Array (
0 => 'title'
1 => 'text'
)
'appends' => Array (
0 => 'items'
)
'allowedItemTypes' => Array (
0 => 'song'
1 => 'artist'
2 => 'musicsite'
3 => 'event'
4 => 'playlist'
)
'filters' => Model\DBFilter Object (
'limit' => 30
'offset' => 0
'order_by' => 'id'
'order_dir' => 'desc'
'status' => 'active'
'keyword' => null
'processed' => null
'pagination' => null
)
'cache' => Module\BRCache\BRCacheService Object (
'driver' => Module\BRCache\RedisDriver Object ()
)
'requested_user_id' => null
'log_api_prefix_info' => 'br.api.info'
'log_api_prefix_error' => 'br.api.error'
'guarded' => Array (
0 => 'id'
)
'connection' => null
'primaryKey' => 'id'
'perPage' => 15
'incrementing' => true
'timestamps' => true
'attributes' => Array (
'id' => 9
'title' => 'Foobar'
'description' => 'woowo'
'status' => 'active'
'editable' => 1
)
'original' => Array (
'id' => 9
'title' => 'Foobar'
'description' => 'woowo'
'status' => 'active'
'editable' => 1
)
'relations' => Array ()
'hidden' => Array ()
'dates' => Array ()
'touches' => Array ()
'observables' => Array ()
'with' => Array ()
'does not exist' => true
'softDelete' => false
) is not equal to Model\Collection Object (
'table' => 'collections'
'useCache' => true
'statuses' => 'active,inactive,deleted,pending'
'visible' => Array (
0 => 'id'
1 => 'title'
2 => 'description'
3 => 'items'
4 => 'status'
5 => 'editable'
)
'dbcols' => Array (
0 => 'collections.id'
1 => 'collections.title'
2 => 'collections.description'
3 => 'collections.status'
4 => 'collections.editable'
)
'fillable' => Array (
0 => 'title'
1 => 'text'
)
'appends' => Array (
0 => 'items'
)
'allowedItemTypes' => Array (
0 => 'song'
1 => 'artist'
2 => 'musicsite'
3 => 'event'
4 => 'playlist'
)
'filters' => Model\DBFilter Object (
'limit' => 30
'offset' => 0
'order_by' => 'id'
'order_dir' => 'desc'
'status' => 'active'
'keyword' => null
'processed' => null
'pagination' => null
)
'cache' => Module\BRCache\BRCacheService Object (
'driver' => Module\BRCache\RedisDriver Object ()
)
'requested_user_id' => null
'log_api_prefix_info' => 'br.api.info'
'log_api_prefix_error' => 'br.api.error'
'guarded' => Array (
0 => 'id'
)
'connection' => null
'primaryKey' => 'id'
'perPage' => 15
'incrementing' => true
'timestamps' => true
'attributes' => Array (
'id' => 9
'title' => 'Foobar'
'description' => 'woowo'
'status' => 'active'
'editable' => 1
)
'original' => Array (
'id' => 9
'title' => 'Foobar'
'description' => 'woowo'
'status' => 'active'
'editable' => 1
)
'relations' => Array ()
'hidden' => Array ()
'dates' => Array ()
'touches' => Array ()
'observables' => Array ()
'with' => Array ()
'does not exist' => true
'softDelete' => false
).
/data/sites/boomrat_api/app/tests/APIPlaylistsTest.php:377
3) APIUsersTest::testIntersectFacebookUsers
Failed asserting that 0 matches expected 1.
/data/sites/boomrat_api/app/tests/APIUsersTest.php:490
4) ModuleBRCloudSearchUsersTest::testCreateAddObject
Failed asserting that Array (
'id' => 1
'type' => 'add'
'version' => 1400171986
'lang' => 'en'
'fields' => Array (
'username' => 'admin'
'displayname' => 'admin'
)
) is identical to Array (
'id' => 1
'type' => 'add'
'version' => 1400171986
'lang' => 'en'
'fields' => Array (
'username' => 'admin'
'displayname' => 'admin'
'image_file' => null
)
).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment