mirror of
https://github.com/pelican-dev/panel.git
synced 2025-06-15 15:11:08 +02:00
Smarter check
This commit is contained in:
parent
455d0543f1
commit
c2f6842f64
@ -40,7 +40,7 @@ class GetStartupAndVariablesTest extends ClientApiIntegrationTestCase
|
||||
$response->assertJsonPath('meta.raw_startup_command', $server->startup);
|
||||
|
||||
$response->assertJsonPath('object', 'list');
|
||||
$response->assertJsonCount(1, 'data');
|
||||
$response->assertJsonMissing(['env_variable' => 'BUNGEE_VERSION']);
|
||||
$response->assertJsonPath('data.0.object', EggVariable::RESOURCE_NAME);
|
||||
$this->assertJsonTransformedWith($response->json('data.0.attributes'), $egg->variables[1]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user