Merge pull request #3986 from mhajas/KEYCLOAK-4677

KEYCLOAK-4677 Fix javascript adapter tests
This commit is contained in:
Pavel Drozd 2017-04-04 10:45:07 +02:00 committed by GitHub
commit 8036f12114

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