From 1697ccffd0ee3e32a857c186b618ac8a1d9edb4e Mon Sep 17 00:00:00 2001 From: manodyaSenevirathne Date: Tue, 13 Aug 2024 11:40:28 +0530 Subject: [PATCH] Update isLiveServer configuration --- ballerina/tests/tests.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ballerina/tests/tests.bal b/ballerina/tests/tests.bal index 9267ee2..094a4d6 100644 --- a/ballerina/tests/tests.bal +++ b/ballerina/tests/tests.bal @@ -17,7 +17,7 @@ import ballerina/os; import ballerina/test; -configurable boolean isLiveServer = ?; +configurable boolean isLiveServer = os:getEnv("isLiveServer") == "true"; configurable string token = isLiveServer ? os:getEnv("token") : "test"; final string mockServiceUrl = "http://localhost:9090"; final Client openAIChat = check initClient();