tests(integration): fix EggControllerTest
This commit is contained in:
parent
ee5a661e46
commit
f6e71e7e76
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ class EggControllerTest extends ApplicationApiIntegrationTestCase
|
||||||
*/
|
*/
|
||||||
public function testGetMissingEgg()
|
public function testGetMissingEgg()
|
||||||
{
|
{
|
||||||
$response = $this->getJson('/api/application/nests/eggs/nil');
|
$response = $this->getJson('/api/application/eggs/nil');
|
||||||
$this->assertNotFoundJson($response);
|
$this->assertNotFoundJson($response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ class EggControllerTest extends ApplicationApiIntegrationTestCase
|
||||||
{
|
{
|
||||||
$this->createNewDefaultApiKey($this->getApiUser(), ['r_eggs' => 0]);
|
$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);
|
$this->assertAccessDeniedJson($response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue