Fix failing test
This commit is contained in:
parent
1939f25a71
commit
e3f24f58df
1 changed files with 1 additions and 7 deletions
|
@ -17,10 +17,8 @@
|
|||
|
||||
package org.keycloak.testsuite.model;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.keycloak.Config;
|
||||
import org.keycloak.models.ClientModel;
|
||||
import org.keycloak.models.KeycloakSession;
|
||||
import org.keycloak.models.RealmModel;
|
||||
|
@ -42,8 +40,6 @@ import java.util.Map;
|
|||
*/
|
||||
public class UserModelTest extends AbstractModelTest {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(UserModelTest.class);
|
||||
|
||||
@Test
|
||||
public void persistUser() {
|
||||
RealmModel realm = realmManager.createRealm("original");
|
||||
|
@ -217,10 +213,8 @@ public class UserModelTest extends AbstractModelTest {
|
|||
|
||||
@Test
|
||||
public void testSearchByString() {
|
||||
logger.infof("Started testSearchByString");
|
||||
RealmModel realm = realmManager.getRealmByName("test");
|
||||
RealmModel realm = realmManager.createRealm("original");
|
||||
UserModel user1 = session.users().addUser(realm, "user1");
|
||||
logger.infof("Added user1");
|
||||
|
||||
commit();
|
||||
|
||||
|
|
Loading…
Reference in a new issue