Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Aug 16, 2023
1 parent d612464 commit 19f34c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ public void testRegExpPasswordRules() throws Exception {

verifyCouldNotCreatePasswords(HttpStatus.SC_BAD_REQUEST);
verifyCanCreatePasswords();
verifySimilarity("xxx");
verifySimilarity(RequestContentValidator.ValidationError.SIMILAR_PASSWORD.message());

addUserWithPasswordAndHash("empty_password", "", "$%^123", HttpStatus.SC_BAD_REQUEST);
addUserWithPasswordAndHash("null_password", null, "$%^123", HttpStatus.SC_BAD_REQUEST);
Expand Down

0 comments on commit 19f34c7

Please sign in to comment.