KEYCLOAK-8944 Fix ProfileAssume for backward adapter compat. testing
This commit is contained in:
parent
3c8dddf33e
commit
7d75377813
1 changed files with 2 additions and 1 deletions
|
@ -39,10 +39,11 @@ public class ProfileAssume {
|
|||
static {
|
||||
String host = System.getProperty("auth.server.host", "localhost");
|
||||
String port = System.getProperty("auth.server.http.port", "8180");
|
||||
boolean adapterCompatTesting = Boolean.parseBoolean(System.getProperty("testsuite.adapter.compat.testing"));
|
||||
|
||||
String authServerContextRoot = "http://" + host + ":" + port;
|
||||
try {
|
||||
Keycloak adminClient = AdminClientUtil.createAdminClient(false, authServerContextRoot);
|
||||
Keycloak adminClient = AdminClientUtil.createAdminClient(adapterCompatTesting, authServerContextRoot);
|
||||
ProfileInfoRepresentation profileInfo = adminClient.serverInfo().getInfo().getProfileInfo();
|
||||
profile = profileInfo.getName();
|
||||
List<String> disabled = profileInfo.getDisabledFeatures();
|
||||
|
|
Loading…
Reference in a new issue