Skip to content

Commit 5e13dfa

Browse files
committed
better fake urls
1 parent fe629cf commit 5e13dfa

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

jdk_17_maven/em/embedded/rest/familie-ba-sak/src/main/java/em/embedded/familie/ba/sak/EmbeddedEvoMasterController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ public String startSut() {
9999
String postgresURL = "jdbc:postgresql://" + postgresContainer.getHost() + ":" + postgresContainer.getMappedPort(POSTGRES_PORT) + "/familiebasak";
100100

101101
//TODO should go through all the environment variables in application properties
102-
System.setProperty("AZUREAD_TOKEN_ENDPOINT_URL","http://foo");
102+
System.setProperty("AZUREAD_TOKEN_ENDPOINT_URL","http://fake-azure-token-endpoint.no:8080");
103103
System.setProperty("AZURE_OPENID_CONFIG_TOKEN_ENDPOINT","bar");
104104
System.setProperty("AZURE_APP_CLIENT_ID","bar");
105105
System.setProperty("NAIS_APP_NAME","bar");
106-
System.setProperty("UNLEASH_SERVER_API_URL","http://bar");
106+
System.setProperty("UNLEASH_SERVER_API_URL","http://fake-unleash-server-api.no:8080");
107107
System.setProperty("UNLEASH_SERVER_API_TOKEN","bar");
108108

109109

jdk_17_maven/em/external/rest/familie-ba-sak/src/main/java/em/external/familie/ba/sak/ExternalEvoMasterController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ public String[] getInputParameters() {
131131
public String[] getJVMParameters() {
132132

133133
return new String[]{
134-
"-DAZUREAD_TOKEN_ENDPOINT_URL=http://foo",
134+
"-DAZUREAD_TOKEN_ENDPOINT_URL=http://fake-azure-token-endpoint.no:8080",
135135
"-DAZURE_OPENID_CONFIG_TOKEN_ENDPOINT=bar",
136136
"-DAZURE_APP_CLIENT_ID=bar",
137137
"-DNAIS_APP_NAME=bar",
138-
"-DUNLEASH_SERVER_API_URL=http://bar",
138+
"-DUNLEASH_SERVER_API_URL=http://fake-unleash-server-api.no:8080",
139139
"-DUNLEASH_SERVER_API_TOKEN=bar"
140140
};
141141
}

0 commit comments

Comments
 (0)