A free open source IT asset/license management system
Use .edit routes instead of .update
Marcus Moorea26cc2ced1a1
diff --git a/tests/Feature/Licenses/Ui/UpdateLicenseTest.php b/tests/Feature/Licenses/Ui/UpdateLicenseTest.phpindex c3d1446d50..7b1b5b29e3 100644--- a/tests/Feature/Licenses/Ui/UpdateLicenseTest.php+++ b/tests/Feature/Licenses/Ui/UpdateLicenseTest.php@@ -11,7 +11,7 @@ class UpdateLicenseTest extends TestCasepublic 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.phpindex 3135e9bcfd..22d9ce5770 100644--- a/tests/Feature/Locations/Ui/UpdateLocationsTest.php+++ b/tests/Feature/Locations/Ui/UpdateLocationsTest.php@@ -21,7 +21,7 @@ class UpdateLocationsTest extends TestCasepublic function testPageRenders(){$this->actingAs(User::factory()->superuser()->create())- ->get(route('locations.update', Location::factory()->create()))+ ->get(route('locations.edit', Location::factory()->create()))->assertOk();}