Fix javascript adapter tests

This commit is contained in:
mhajas 2017-03-20 08:42:51 +01:00
parent 45ea3c8b47
commit bc05010ece

View file

@ -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);