Skip to content

Commit

Permalink
Update isLiveServer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
manodyaSenevirathne committed Aug 13, 2024
1 parent 382ed1c commit 1697ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/tests/tests.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1697ccf

Please sign in to comment.