From a26cc2ced1a1a40247e9a4f91216c306f3d94d0f Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 24 Feb 2025 15:55:05 -0800 Subject: [PATCH] Use .edit routes instead of .update --- tests/Feature/Licenses/Ui/UpdateLicenseTest.php | 2 +- tests/Feature/Locations/Ui/UpdateLocationsTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/Licenses/Ui/UpdateLicenseTest.php b/tests/Feature/Licenses/Ui/UpdateLicenseTest.php index c3d1446d5..7b1b5b29e 100644 --- a/tests/Feature/Licenses/Ui/UpdateLicenseTest.php +++ b/tests/Feature/Licenses/Ui/UpdateLicenseTest.php @@ -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(); } } diff --git a/tests/Feature/Locations/Ui/UpdateLocationsTest.php b/tests/Feature/Locations/Ui/UpdateLocationsTest.php index 3135e9bcf..22d9ce577 100644 --- a/tests/Feature/Locations/Ui/UpdateLocationsTest.php +++ b/tests/Feature/Locations/Ui/UpdateLocationsTest.php @@ -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(); }