From 432ea277a78a0744b2128fe08dd7dbd7874532b4 Mon Sep 17 00:00:00 2001 From: mhajas Date: Fri, 13 Jul 2018 14:28:43 +0200 Subject: [PATCH] KEYCLOAK-7816 Assume preview profile in authz tests --- .../testsuite/authz/AbstractResourceServerTest.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/authz/AbstractResourceServerTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/authz/AbstractResourceServerTest.java index c5edbccb46..23a95ec830 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/authz/AbstractResourceServerTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/authz/AbstractResourceServerTest.java @@ -53,7 +53,7 @@ import org.keycloak.util.JsonSerialization; /** * @author Pedro Igor */ -public abstract class AbstractResourceServerTest extends AbstractKeycloakTest { +public abstract class AbstractResourceServerTest extends AbstractAuthzTest { protected static final String REALM_NAME = "authz-test"; @@ -176,10 +176,6 @@ public abstract class AbstractResourceServerTest extends AbstractKeycloakTest { } } - protected AccessToken toAccessToken(String rpt) throws Exception { - return JsonSerialization.readValue(new JWSInput(rpt).getContent(), AccessToken.class); - } - protected void assertPermissions(List permissions, String expectedResource, String... expectedScopes) { Iterator iterator = permissions.iterator();