Merge pull request #16322 from marcusmoore/fixes/fix-test-edit-route
Fixed edit routes in tests
This commit is contained in:
commit
cd26694767
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue