From 4caa40fd0a3043afa806c3bef445304fcc7d40f0 Mon Sep 17 00:00:00 2001 From: pedroigor Date: Wed, 29 Nov 2017 12:07:48 -0200 Subject: [PATCH] [KEYCLOAK-5660] - Fixing test, it should not consider users count for service accounts --- .../test/java/org/keycloak/testsuite/model/UserModelTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/testsuite/integration-deprecated/src/test/java/org/keycloak/testsuite/model/UserModelTest.java b/testsuite/integration-deprecated/src/test/java/org/keycloak/testsuite/model/UserModelTest.java index 4e0dca51c1..08bd68865e 100755 --- a/testsuite/integration-deprecated/src/test/java/org/keycloak/testsuite/model/UserModelTest.java +++ b/testsuite/integration-deprecated/src/test/java/org/keycloak/testsuite/model/UserModelTest.java @@ -357,8 +357,6 @@ public class UserModelTest extends AbstractModelTest { Assert.assertTrue(users.contains(user1)); Assert.assertTrue(users.contains(user2)); - Assert.assertEquals(2, session.users().getUsersCount(realm)); - // Remove client new ClientManager(realmManager).removeClient(realm, client); commit();