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', ], - ] + ], ], ]); }