Fix testsuite with mongo
This commit is contained in:
parent
3c60881d8c
commit
1ac0529d04
1 changed files with 2 additions and 1 deletions
|
@ -547,10 +547,11 @@ public abstract class AbstractKeycloakIdentityProviderTest extends AbstractIdent
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testWithLinkedFederationProvider() throws Exception {
|
public void testWithLinkedFederationProvider() throws Exception {
|
||||||
|
setUpdateProfileFirstLogin(IdentityProviderRepresentation.UPFLM_OFF);
|
||||||
|
|
||||||
// Add federationProvider to realm. It's configured with sync registrations
|
// Add federationProvider to realm. It's configured with sync registrations
|
||||||
RealmModel realm = getRealm();
|
RealmModel realm = getRealm();
|
||||||
UserFederationProviderModel dummyModel = realm.addUserFederationProvider(DummyUserFederationProviderFactory.PROVIDER_NAME, new HashMap<String, String>(), 1, "test-dummy", -1, -1, 0);
|
UserFederationProviderModel dummyModel = realm.addUserFederationProvider(DummyUserFederationProviderFactory.PROVIDER_NAME, new HashMap<String, String>(), 1, "test-dummy", -1, -1, 0);
|
||||||
setUpdateProfileFirstLogin(IdentityProviderRepresentation.UPFLM_OFF);
|
|
||||||
|
|
||||||
brokerServerRule.stopSession(session, true);
|
brokerServerRule.stopSession(session, true);
|
||||||
session = brokerServerRule.startSession();
|
session = brokerServerRule.startSession();
|
||||||
|
|
Loading…
Reference in a new issue