KEYCLOAK-12062 AccountLinkSpringBootTest is failing
This commit is contained in:
parent
0a9d058b81
commit
3c3667d81e
1 changed files with 2 additions and 2 deletions
|
@ -214,7 +214,7 @@ public class AccountLinkSpringBootTest extends AbstractSpringBootTest {
|
||||||
// now test CSRF with bad hash.
|
// now test CSRF with bad hash.
|
||||||
navigateTo(linkUrl);
|
navigateTo(linkUrl);
|
||||||
|
|
||||||
assertThat(driver.getPageSource(), containsString("We're sorry..."));
|
assertThat(driver.getPageSource(), containsString("We are sorry..."));
|
||||||
|
|
||||||
logoutAll();
|
logoutAll();
|
||||||
|
|
||||||
|
@ -529,7 +529,7 @@ public class AccountLinkSpringBootTest extends AbstractSpringBootTest {
|
||||||
|
|
||||||
assertThat(errorPage.getError(), is(equalTo("You are already authenticated as different user '"
|
assertThat(errorPage.getError(), is(equalTo("You are already authenticated as different user '"
|
||||||
+ CHILD_USERNAME_1
|
+ CHILD_USERNAME_1
|
||||||
+ "' in this session. Please logout first.")));
|
+ "' in this session. Please log out first.")));
|
||||||
|
|
||||||
logoutAll();
|
logoutAll();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue