mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Use .edit routes instead of .update
This commit is contained in:
parent
5fa4f85c20
commit
a26cc2ced1
|
@ -11,7 +11,7 @@ class UpdateLicenseTest extends TestCase
|
||||||
public function testPageRenders()
|
public function testPageRenders()
|
||||||
{
|
{
|
||||||
$this->actingAs(User::factory()->superuser()->create())
|
$this->actingAs(User::factory()->superuser()->create())
|
||||||
->get(route('licenses.update', License::factory()->create()->id))
|
->get(route('licenses.edit', License::factory()->create()->id))
|
||||||
->assertOk();
|
->assertOk();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ class UpdateLocationsTest extends TestCase
|
||||||
public function testPageRenders()
|
public function testPageRenders()
|
||||||
{
|
{
|
||||||
$this->actingAs(User::factory()->superuser()->create())
|
$this->actingAs(User::factory()->superuser()->create())
|
||||||
->get(route('locations.update', Location::factory()->create()))
|
->get(route('locations.edit', Location::factory()->create()))
|
||||||
->assertOk();
|
->assertOk();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue