Skip to content

Commit 9e01483

Browse files
committed
debug
1 parent f58c6bd commit 9e01483

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/test/java/app/component/Optout.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ public class Optout extends App {
2020

2121
public Optout(String host, Integer port, String name) {
2222
super(host, port, name);
23-
this.optoutInternalApiKey = EnvUtil.getEnv(Const.Config.Core.OPTOUT_API_KEY, false);
23+
this.optoutInternalApiKey = EnvUtil.getEnv(Const.Config.Core.OPTOUT_INTERNAL_API_KEY, false);
2424
}
2525

2626
public Optout(String host, String name) {
2727
super(host, null, name);
28-
this.optoutInternalApiKey = EnvUtil.getEnv(Const.Config.Core.OPTOUT_API_KEY, false);
28+
this.optoutInternalApiKey = EnvUtil.getEnv(Const.Config.Core.OPTOUT_INTERNAL_API_KEY, false);
2929
}
3030

3131
private String getOptoutInternalApiKey() {
3232
if (optoutInternalApiKey == null || optoutInternalApiKey.isEmpty()) {
33-
throw new IllegalStateException("Missing environment variable: " + Const.Config.Core.OPTOUT_API_KEY);
33+
throw new IllegalStateException("Missing environment variable: " + Const.Config.Core.OPTOUT_INTERNAL_API_KEY);
3434
}
3535
return optoutInternalApiKey;
3636
}

src/test/java/common/Const.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public static final class Config {
1313
public static final class Core {
1414
public static final String OPERATOR_API_KEY = "UID2_CORE_E2E_OPERATOR_API_KEY";
1515
public static final String OPTOUT_API_KEY = "UID2_CORE_E2E_OPTOUT_API_KEY";
16+
public static final String OPTOUT_INTERNAL_API_KEY = "UID2_CORE_E2E_OPTOUT_INTERNAL_API_KEY";
1617
public static final String CORE_URL = "UID2_CORE_E2E_CORE_URL";
1718
public static final String OPTOUT_URL = "UID2_CORE_E2E_OPTOUT_URL";
1819
}

0 commit comments

Comments
 (0)