Use .edit routes instead of .update

This commit is contained in:
Marcus Moore 2025-02-24 15:55:05 -08:00
parent 5fa4f85c20
commit a26cc2ced1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

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

View file

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