tests(integration): fix EggControllerTest

This commit is contained in:
Matthew Penner 2021-03-05 09:04:32 -07:00
parent ee5a661e46
commit f6e71e7e76

View file

@ -114,7 +114,7 @@ class EggControllerTest extends ApplicationApiIntegrationTestCase
*/
public function testGetMissingEgg()
{
$response = $this->getJson('/api/application/nests/eggs/nil');
$response = $this->getJson('/api/application/eggs/nil');
$this->assertNotFoundJson($response);
}
@ -139,7 +139,7 @@ class EggControllerTest extends ApplicationApiIntegrationTestCase
{
$this->createNewDefaultApiKey($this->getApiUser(), ['r_eggs' => 0]);
$response = $this->getJson('/api/application/nests/eggs/nil');
$response = $this->getJson('/api/application/eggs/nil');
$this->assertAccessDeniedJson($response);
}
}