From 7d75377813f5a914fa2b359b380770b55019601e Mon Sep 17 00:00:00 2001 From: vmuzikar Date: Fri, 23 Nov 2018 11:41:48 +0100 Subject: [PATCH] KEYCLOAK-8944 Fix ProfileAssume for backward adapter compat. testing --- .../src/main/java/org/keycloak/testsuite/ProfileAssume.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/ProfileAssume.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/ProfileAssume.java index 375372a484..3aaf443756 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/ProfileAssume.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/ProfileAssume.java @@ -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 disabled = profileInfo.getDisabledFeatures();