Skip to content

Commit

Permalink
KEYCLOAK-3620
Browse files Browse the repository at this point in the history
  • Loading branch information
patriot1burke committed Dec 5, 2016
1 parent 6587cd2 commit fc92639
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
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;
Expand Down Expand Up @@ -92,7 +93,7 @@ private void loginSuccessAndLogout(String username, String password) {
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;
Expand Down

0 comments on commit fc92639

Please sign in to comment.