Skip to content

Commit b036adc

Browse files
authored
Update KeycloakLoginAttributeProviderTest.java
fix temporary test failure
1 parent b5320ad commit b036adc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/fr/cnieg/keycloak/providers/login/attribute/KeycloakLoginAttributeProviderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void test_user_bill_should_be_locked_after_two_attempts_with_attribute() {
122122
void test_should_reset_jane_with_login_name() {
123123
// Given
124124
String username = "janedoe";
125-
String expected = "Failed to send email, please try again later.";
125+
String expected = "You should receive an email shortly with further instructions.";
126126
// When
127127
page.navigate(KEYCLOAK_CONTAINER.getAuthServerUrl() + "/realms/testloginattribute/account");
128128
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Sign in")).click();

0 commit comments

Comments
 (0)