KEYCLOAK-9348 UserStorageConsentTest fails with some databases

This commit is contained in:
Martin Bartos RH 2019-03-05 14:47:38 +01:00 committed by Marek Posolda
parent d0b7700c04
commit a3c175a21e

View file

@ -752,6 +752,8 @@ public class UserStorageTest extends AbstractAuthTest {
Assert.assertEquals(1, UserMapStorage.allocations.get()); Assert.assertEquals(1, UserMapStorage.allocations.get());
Assert.assertEquals(0, UserMapStorage.closings.get()); Assert.assertEquals(0, UserMapStorage.closings.get());
session.users().removeUser(realm,session.users().getUserByUsername("memuser",realm));
}); });
testingClient.server().run(session -> { testingClient.server().run(session -> {