From c2f6842f64b754c063b607dfd5e5da6bec22ce28 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Fri, 18 Oct 2024 22:17:15 -0400 Subject: [PATCH] Smarter check --- .../Api/Client/Server/Startup/GetStartupAndVariablesTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/Api/Client/Server/Startup/GetStartupAndVariablesTest.php b/tests/Integration/Api/Client/Server/Startup/GetStartupAndVariablesTest.php index 88cc6ed6f..25f5658d2 100644 --- a/tests/Integration/Api/Client/Server/Startup/GetStartupAndVariablesTest.php +++ b/tests/Integration/Api/Client/Server/Startup/GetStartupAndVariablesTest.php @@ -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]); }