fixed test
This commit is contained in:
parent
8ba9c7d944
commit
bdf8c6d3db
@ -139,7 +139,7 @@ public class AuthControllerTest extends AbstractControllerTest {
|
||||
//try to login with user password that is not valid after security settings was updated
|
||||
doPost("/api/auth/login", new LoginRequest(TENANT_ADMIN_EMAIL, newPassword))
|
||||
.andExpect(status().isUnauthorized())
|
||||
.andExpect(jsonPath("$.message", is("Password does not pass validation. Please try again or reset password to valid one.")));
|
||||
.andExpect(jsonPath("$.message", is("The entered password violates our policies. If this is your real password, please reset it.")));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user