fix conflicts files pull requests

This commit is contained in:
2023-12-22 23:49:55 +03:00
7 changed files with 25 additions and 29 deletions

View File

@@ -22,22 +22,21 @@ final class EditFormTest extends TestCase
public function setUp(): void
{
parent::setUp();
$this->refreshApplicationWithLocale('en');
$this->user = User::factory()->create(['is_consultant' => true]);
$this->recipe = Recipe::inRandomOrder()->first();
$this->refreshApplicationWithLocale('en');
}
public function testShowFormEditRecipe(): void
public function test_edit_page_recipe_success(): void
{
$response = $this
->actingAs($this->user)
->get(route('recipe.edit', ['recipe' => $this->recipe->id]));
->get(route('recipe.edit', $this->recipe, false));
$response->assertSuccessful();
}
}