From acdf4a310492e7af4e1e44b980c865cc342a5bdc Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Tue, 21 Jan 2020 10:40:16 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/Controllers/RepositoryShowControllerTest.php | 4 +--- tests/Controllers/RepositoryStoreControllerTest.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/Controllers/RepositoryShowControllerTest.php b/tests/Controllers/RepositoryShowControllerTest.php index 2c1b90fb8..b1e42dc18 100644 --- a/tests/Controllers/RepositoryShowControllerTest.php +++ b/tests/Controllers/RepositoryShowControllerTest.php @@ -3,9 +3,7 @@ namespace Binaryk\LaravelRestify\Tests\Controllers; use Binaryk\LaravelRestify\Tests\Fixtures\Post; -use Binaryk\LaravelRestify\Tests\Fixtures\PostPolicy; use Binaryk\LaravelRestify\Tests\IntegrationTest; -use Illuminate\Support\Facades\Gate; /** * @author Eduard Lupacescu @@ -20,7 +18,7 @@ protected function setUp(): void public function test_basic_show() { - factory(Post::class)->create(['user_id' => 1,]); + factory(Post::class)->create(['user_id' => 1]); $this->withoutExceptionHandling()->get('/restify-api/posts/1') ->assertStatus(200) diff --git a/tests/Controllers/RepositoryStoreControllerTest.php b/tests/Controllers/RepositoryStoreControllerTest.php index cf89943e6..acc205e1a 100644 --- a/tests/Controllers/RepositoryStoreControllerTest.php +++ b/tests/Controllers/RepositoryStoreControllerTest.php @@ -30,7 +30,7 @@ public function test_basic_validation_works() 'description' => [ 'Description field is required', ], - ] + ], ], ]); }