diff --git a/tests/Feature/BlogPost/EditTest.php b/tests/Feature/BlogPost/EditTest.php index db00a2e..e7aa2ad 100644 --- a/tests/Feature/BlogPost/EditTest.php +++ b/tests/Feature/BlogPost/EditTest.php @@ -32,7 +32,7 @@ class EditTest extends TestCase $this->blogPost = BlogPost::factory()->create(); } - public function test_show_form_edit_blog_post_success_for_author(): void + public function test_show_form_edit_blog_post_success_for_author_user(): void { $this->user->author_of_blog_post()->attach($this->blogPost->id); $response = $this @@ -63,7 +63,7 @@ class EditTest extends TestCase $response->assertSuccessful(); } - public function test_show_form_edit_blog_post_forbidden_for_not_author(): void + public function test_show_form_edit_blog_post_forbidden_for_user(): void { $blogPost = BlogPost::factory()->create(); $user = User::factory()->create(); diff --git a/tests/Feature/Plan/EditTest.php b/tests/Feature/Plan/EditTest.php index dadf7fe..4d52ddc 100644 --- a/tests/Feature/Plan/EditTest.php +++ b/tests/Feature/Plan/EditTest.php @@ -64,7 +64,7 @@ class EditTest extends TestCase $response->assertSuccessful(); } - public function test_show_form_edit_plan_forbidden_for_not_author(): void + public function test_show_form_edit_plan_forbidden_for_user(): void { $user = User::factory()->create(); $this->plan->author()->attach($user->id); diff --git a/tests/Feature/Recipe/EditTest.php b/tests/Feature/Recipe/EditTest.php index c434170..eb95ab5 100644 --- a/tests/Feature/Recipe/EditTest.php +++ b/tests/Feature/Recipe/EditTest.php @@ -66,7 +66,7 @@ final class EditTest extends TestCase $response->assertSuccessful(); } - public function test_show_form_edit_recipe_forbidden_for_not_author(): void + public function test_show_form_edit_recipe_forbidden_for_user(): void { $response = $this ->actingAs($this->user)