From bc05010ecea58ad3e0038e6b91f2688c3f04add4 Mon Sep 17 00:00:00 2001 From: mhajas Date: Mon, 20 Mar 2017 08:42:51 +0100 Subject: [PATCH] Fix javascript adapter tests --- .../test/java/org/keycloak/testsuite/AbstractAuthTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractAuthTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractAuthTest.java index 4e6d767a5b..cfe13e2df6 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractAuthTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/AbstractAuthTest.java @@ -74,12 +74,13 @@ public abstract class AbstractAuthTest extends AbstractKeycloakTest { public void setDefaultPageUriParameters() { super.setDefaultPageUriParameters(); testRealmPage.setAuthRealm(TEST); - testRealmLoginPage.setAuthRealm(testRealmPage); - testRealmAccountPage.setAuthRealm(testRealmPage); } @Before public void beforeAuthTest() { + testRealmLoginPage.setAuthRealm(testRealmPage); + testRealmAccountPage.setAuthRealm(testRealmPage); + testUser = createUserRepresentation("test", "test@email.test", "test", "user", true); setPasswordFor(testUser, PASSWORD);