From fc92639d3fd5746d0f8dafe8a2d15c809e5bb5ac Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Mon, 5 Dec 2016 17:52:00 -0500 Subject: [PATCH] KEYCLOAK-3620 --- .../testsuite/federation/storage/BrokenUserStorageTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/BrokenUserStorageTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/BrokenUserStorageTest.java index 02c12f677d..6d7ea34742 100644 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/BrokenUserStorageTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/federation/storage/BrokenUserStorageTest.java @@ -35,6 +35,7 @@ import org.keycloak.models.UserCredentialModel; import org.keycloak.models.UserModel; import org.keycloak.models.cache.CachedUserModel; import org.keycloak.models.cache.infinispan.UserAdapter; +import org.keycloak.models.jpa.RealmAdapter; import org.keycloak.representations.idm.ComponentRepresentation; import org.keycloak.services.managers.RealmManager; import org.keycloak.storage.StorageId; @@ -92,7 +93,7 @@ public class BrokenUserStorageTest { public void testBootWithBadProviderId() throws Exception { KeycloakSession session = keycloakRule.startSession(); // set this system property - System.setProperty("component.provider.exists.disabled", "true"); + System.setProperty(RealmAdapter.COMPONENT_PROVIDER_EXISTS_DISABLED, "true"); RealmModel realm = session.realms().getRealmByName("master"); String masterId = realm.getId(); UserStorageProviderModel model;