KEYCLOAK-3082 - clear queue before event
This commit is contained in:
parent
b2d8c6bca2
commit
81de73df8e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue