From f3bdc551cd57bc8c7cfce6f35344c92bb2de86b5 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 15 Mar 2019 00:09:39 +0800 Subject: [PATCH] Apply fixes from StyleCI (#19) --- tests/SkinlibControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SkinlibControllerTest.php b/tests/SkinlibControllerTest.php index f3cd2dcb..23087f71 100644 --- a/tests/SkinlibControllerTest.php +++ b/tests/SkinlibControllerTest.php @@ -272,7 +272,7 @@ class SkinlibControllerTest extends TestCase ]) ->decodeResponseJson('items'); $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 @@ -281,7 +281,7 @@ class SkinlibControllerTest extends TestCase $this->getJson('/skinlib/data') ->assertJson([ 'items' => [ - ['tid' => $texture->tid, 'liked' => true] + ['tid' => $texture->tid, 'liked' => true], ], 'current_uid' => $otherUser->uid, 'total_pages' => 2,