Skip to content

Commit 86a56de

Browse files
committed
Fix variable naming in TestClient by updating DEV_HOST to use underscore instead of hyphen for environment variable retrieval, ensuring consistency with naming conventions.
1 parent f74014a commit 86a56de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/contentstack/cms/TestClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class TestClient {
2222
public final static String MANAGEMENT_TOKEN = (env.get("managementToken") != null) ? env.get("managementToken")
2323
: "managementToken99999999";
2424

25-
public final static String DEV_HOST = (env.get("dev-host") != null) ? env.get("dev-host").trim() : "api.contentstack.io";
25+
public final static String DEV_HOST = (env.get("dev_host") != null) ? env.get("dev_host").trim() : "api.contentstack.io";
2626
public final static String VARIANT_GROUP_UID = (env.get("variantGroupUid") != null) ? env.get("variantGroupUid")
2727
: "variantGroupUid99999999";
2828
private static Contentstack instance;

0 commit comments

Comments
 (0)