Skip to content

Commit

Permalink
update missed 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 d67745a commit 839d036
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ public void testScoreBasedPasswordRules() throws Exception {
RequestContentValidator.ValidationError.WEAK_PASSWORD.message()
);

addUserWithPassword("admin", "pas", HttpStatus.SC_BAD_REQUEST, "Password does not match minimum criteria");
addUserWithPassword("admin", "pas", HttpStatus.SC_BAD_REQUEST, RequestContentValidator.ValidationError.INVALID_PASSWORD_TOO_SHORT.message());

verifySimilarity(RequestContentValidator.ValidationError.SIMILAR_PASSWORD.message());

Expand Down

0 comments on commit 839d036

Please sign in to comment.