KEYCLOAK-3082 - clear queue before event

This commit is contained in:
Pavel Drozd 2016-06-06 11:28:22 +02:00
parent b2d8c6bca2
commit 81de73df8e

View file

@ -88,7 +88,7 @@ public class UserTotpTest extends TestRealmKeycloakTest {
List<UserRepresentation> users = adminClient.realms().realm("test").users().search("test-user@localhost", null, null, null, 0, 1); List<UserRepresentation> users = adminClient.realms().realm("test").users().search("test-user@localhost", null, null, null, 0, 1);
String userId = users.get(0).getId(); String userId = users.get(0).getId();
testingClient.testing().clearAdminEventQueue();
adminClient.realms().realm("test").users().get(userId).removeTotp(); adminClient.realms().realm("test").users().get(userId).removeTotp();
totpPage.open(); totpPage.open();