Smarter check

This commit is contained in:
Lance Pioch 2024-10-18 22:17:15 -04:00
parent 455d0543f1
commit c2f6842f64

View File

@ -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]);
}