rename method tests edit

This commit is contained in:
2024-01-21 20:01:47 +03:00
parent 471e857e51
commit c796478fd3
3 changed files with 4 additions and 4 deletions

View File

@@ -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();