From d1e6b7523e138ff2e187d0422e1567bfc26b5a3b Mon Sep 17 00:00:00 2001 From: mposolda Date: Thu, 23 Apr 2015 18:00:30 +0200 Subject: [PATCH] Fix mongo --- .../mongo/DefaultMongoConnectionFactoryProvider.java | 1 + .../org/keycloak/testsuite/oauth/OAuthGrantTest.java | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/connections/mongo/src/main/java/org/keycloak/connections/mongo/DefaultMongoConnectionFactoryProvider.java b/connections/mongo/src/main/java/org/keycloak/connections/mongo/DefaultMongoConnectionFactoryProvider.java index 0ef0069b41..d591fbabe1 100755 --- a/connections/mongo/src/main/java/org/keycloak/connections/mongo/DefaultMongoConnectionFactoryProvider.java +++ b/connections/mongo/src/main/java/org/keycloak/connections/mongo/DefaultMongoConnectionFactoryProvider.java @@ -39,6 +39,7 @@ public class DefaultMongoConnectionFactoryProvider implements MongoConnectionPro "org.keycloak.models.sessions.mongo.entities.MongoClientSessionEntity", "org.keycloak.models.entities.UserFederationProviderEntity", "org.keycloak.models.entities.ProtocolMapperEntity", + "org.keycloak.models.entities.IdentityProviderMapperEntity", "org.keycloak.models.mongo.keycloak.entities.MongoUserConsentEntity" }; diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/OAuthGrantTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/OAuthGrantTest.java index 65f6198af9..6985e88dab 100755 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/OAuthGrantTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/OAuthGrantTest.java @@ -72,16 +72,6 @@ public class OAuthGrantTest { private static String ROLE_USER = "Have User privileges"; private static String ROLE_CUSTOMER = "Have Customer User privileges"; - @Test - public void sleepTest() throws IOException { - try { - Thread.sleep(10000000); - } catch (InterruptedException ie) { - throw new RuntimeException(ie); - } - } - - @Test public void oauthGrantAcceptTest() throws IOException { oauth.clientId("third-party");