From 49cfab5aca088683522eb8d838df4257d1a0d9b5 Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Sun, 8 Mar 2020 18:51:31 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/Controllers/RepositoryDestroyControllerTest.php | 4 ++-- tests/Controllers/RepositoryUpdateControllerTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Controllers/RepositoryDestroyControllerTest.php b/tests/Controllers/RepositoryDestroyControllerTest.php index 39d47e6f2..f229dab53 100644 --- a/tests/Controllers/RepositoryDestroyControllerTest.php +++ b/tests/Controllers/RepositoryDestroyControllerTest.php @@ -27,7 +27,7 @@ public function test_destroy_works() $this->assertInstanceOf(Post::class, Post::find($post->id)); - $this->withoutExceptionHandling()->delete('/restify-api/posts/' . $post->id, [ + $this->withoutExceptionHandling()->delete('/restify-api/posts/'.$post->id, [ 'title' => 'Updated title', ]) ->assertStatus(204); @@ -43,7 +43,7 @@ public function test_unathorized_to_destroy() $_SERVER['restify.post.deletable'] = false; - $this->delete('/restify-api/posts/' . $post->id, [ + $this->delete('/restify-api/posts/'.$post->id, [ 'title' => 'Updated title', ])->assertStatus(403) ->assertJson([ diff --git a/tests/Controllers/RepositoryUpdateControllerTest.php b/tests/Controllers/RepositoryUpdateControllerTest.php index e41c5ba31..625938b59 100644 --- a/tests/Controllers/RepositoryUpdateControllerTest.php +++ b/tests/Controllers/RepositoryUpdateControllerTest.php @@ -38,7 +38,7 @@ public function test_put_works() { $post = factory(Post::class)->create(['user_id' => 1]); - $this->withoutExceptionHandling()->put('/restify-api/posts/' . $post->id, [ + $this->withoutExceptionHandling()->put('/restify-api/posts/'.$post->id, [ 'title' => 'Updated title', ]) ->assertStatus(200);