From 81f1baff33b38b9c6831d14d9b3146259b7a5eb8 Mon Sep 17 00:00:00 2001 From: Vlasta Ramik Date: Wed, 9 Mar 2016 13:58:07 +0100 Subject: [PATCH] KEYCLOAK-2586 - fix URL providers on classpath for graphene 2.1.0.Aplha3 --- .../testsuite/arquillian/KeycloakArquillianExtension.java | 4 +++- testsuite/integration-arquillian/tests/pom.xml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/KeycloakArquillianExtension.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/KeycloakArquillianExtension.java index 275974f842..63f5436d39 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/KeycloakArquillianExtension.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/KeycloakArquillianExtension.java @@ -23,6 +23,7 @@ import org.jboss.arquillian.container.test.impl.enricher.resource.URLResourcePro import org.jboss.arquillian.container.test.spi.client.deployment.ApplicationArchiveProcessor; import org.jboss.arquillian.container.test.spi.client.deployment.DeploymentScenarioGenerator; import org.jboss.arquillian.core.spi.LoadableExtension; +import org.jboss.arquillian.graphene.location.ContainerCustomizableURLResourceProvider; import org.jboss.arquillian.graphene.location.CustomizableURLResourceProvider; import org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider; import org.jboss.arquillian.test.spi.execution.TestExecutionDecider; @@ -60,7 +61,8 @@ public class KeycloakArquillianExtension implements LoadableExtension { builder .override(ResourceProvider.class, URLResourceProvider.class, URLProvider.class) - .override(ResourceProvider.class, CustomizableURLResourceProvider.class, URLProvider.class); + .override(ResourceProvider.class, CustomizableURLResourceProvider.class, URLProvider.class) + .override(ResourceProvider.class, ContainerCustomizableURLResourceProvider.class, URLProvider.class); } diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index 0de454b577..6d76831376 100644 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -60,7 +60,7 @@ 1.1.11.Final 2.52.0 2.0.0.Beta1 - 2.1.0.Alpha2 + 2.1.0.Alpha3 8.2.0.Final 2.2.2