Merge pull request #16322 from marcusmoore/fixes/fix-test-edit-route

Fixed edit routes in tests
This commit is contained in:
snipe 2025-02-25 00:17:10 +00:00 committed by GitHub
commit cd26694767
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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();
}