mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
tests(integration): fix EggControllerTest
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user