Skip to content

Commit a26cc2c

Browse files
committed
Use .edit routes instead of .update
1 parent 5fa4f85 commit a26cc2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Feature/Licenses/Ui/UpdateLicenseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class UpdateLicenseTest extends TestCase
1111
public function testPageRenders()
1212
{
1313
$this->actingAs(User::factory()->superuser()->create())
14-
->get(route('licenses.update', License::factory()->create()->id))
14+
->get(route('licenses.edit', License::factory()->create()->id))
1515
->assertOk();
1616
}
1717
}

tests/Feature/Locations/Ui/UpdateLocationsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function testPermissionRequiredToStoreLocation()
2121
public function testPageRenders()
2222
{
2323
$this->actingAs(User::factory()->superuser()->create())
24-
->get(route('locations.update', Location::factory()->create()))
24+
->get(route('locations.edit', Location::factory()->create()))
2525
->assertOk();
2626
}
2727

0 commit comments

Comments
 (0)