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