KEYCLOAK-12062 AccountLinkSpringBootTest is failing

This commit is contained in:
Martin Kanis 2019-11-21 11:23:51 +01:00 committed by Stian Thorgersen
parent 0a9d058b81
commit 3c3667d81e

View file

@ -214,7 +214,7 @@ public class AccountLinkSpringBootTest extends AbstractSpringBootTest {
// now test CSRF with bad hash.
navigateTo(linkUrl);
assertThat(driver.getPageSource(), containsString("We're sorry..."));
assertThat(driver.getPageSource(), containsString("We are sorry..."));
logoutAll();
@ -529,7 +529,7 @@ public class AccountLinkSpringBootTest extends AbstractSpringBootTest {
assertThat(errorPage.getError(), is(equalTo("You are already authenticated as different user '"
+ CHILD_USERNAME_1
+ "' in this session. Please logout first.")));
+ "' in this session. Please log out first.")));
logoutAll();