Use .edit routes instead of .update
This commit is contained in:
parent
5fa4f85c20
commit
a26cc2ced1
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ class UpdateLicenseTest extends TestCase
|
|||
public function testPageRenders()
|
||||
{
|
||||
$this->actingAs(User::factory()->superuser()->create())
|
||||
->get(route('licenses.update', License::factory()->create()->id))
|
||||
->get(route('licenses.edit', License::factory()->create()->id))
|
||||
->assertOk();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ class UpdateLocationsTest extends TestCase
|
|||
public function testPageRenders()
|
||||
{
|
||||
$this->actingAs(User::factory()->superuser()->create())
|
||||
->get(route('locations.update', Location::factory()->create()))
|
||||
->get(route('locations.edit', Location::factory()->create()))
|
||||
->assertOk();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue