Apply fixes from StyleCI (#19)
This commit is contained in:
parent
d93a5410d9
commit
f3bdc551cd
|
|
@ -272,7 +272,7 @@ class SkinlibControllerTest extends TestCase
|
||||||
])
|
])
|
||||||
->decodeResponseJson('items');
|
->decodeResponseJson('items');
|
||||||
$this->assertTrue(collect($items)->every(function ($item) {
|
$this->assertTrue(collect($items)->every(function ($item) {
|
||||||
return !$item['liked'];
|
return ! $item['liked'];
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// A user has added a texture from skin library to his closet
|
// A user has added a texture from skin library to his closet
|
||||||
|
|
@ -281,7 +281,7 @@ class SkinlibControllerTest extends TestCase
|
||||||
$this->getJson('/skinlib/data')
|
$this->getJson('/skinlib/data')
|
||||||
->assertJson([
|
->assertJson([
|
||||||
'items' => [
|
'items' => [
|
||||||
['tid' => $texture->tid, 'liked' => true]
|
['tid' => $texture->tid, 'liked' => true],
|
||||||
],
|
],
|
||||||
'current_uid' => $otherUser->uid,
|
'current_uid' => $otherUser->uid,
|
||||||
'total_pages' => 2,
|
'total_pages' => 2,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user