Fixes KeycloakDistConfiguratorTest missingHostname test case. (#25643)

Closes #25642

Signed-off-by: Àngel Ollé Blázquez <angel@olleb.com>
This commit is contained in:
Àngel Ollé Blázquez 2023-12-18 12:51:33 +01:00 committed by GitHub
parent be935c2763
commit 2c341d4bc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ public class KeycloakDistConfiguratorTest {
assertEnvVarNotPresent(envVars, "KC_HOSTNAME_ADMIN");
assertEnvVarNotPresent(envVars, "KC_HOSTNAME_ADMIN_URL");
assertEnvVarNotPresent(envVars, "KC_HOSTNAME_STRICT");
assertEnvVarNotPresent(envVars, "KC_HOSTNAME_STRICT-BACKCHANNEL");
assertEnvVarNotPresent(envVars, "KC_HOSTNAME_STRICT_BACKCHANNEL");
}
/* UTILS */
@ -223,4 +223,4 @@ public class KeycloakDistConfiguratorTest {
if (CollectionUtil.isEmpty(envVars) || isBlank(varName)) return false;
return envVars.stream().anyMatch(f -> varName.equals(f.getName()));
}
}
}