forked from eatvio/eatvio-infra
fix conflicts files pull requests
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user