From 839d0362af99471fdd8b2df1415e6e78b122ede1 Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Wed, 16 Aug 2023 14:55:00 -0400 Subject: [PATCH] update missed test Signed-off-by: Derek Ho --- .../java/org/opensearch/security/dlic/rest/api/UserApiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opensearch/security/dlic/rest/api/UserApiTest.java b/src/test/java/org/opensearch/security/dlic/rest/api/UserApiTest.java index 20152a27b8..014e519e2f 100644 --- a/src/test/java/org/opensearch/security/dlic/rest/api/UserApiTest.java +++ b/src/test/java/org/opensearch/security/dlic/rest/api/UserApiTest.java @@ -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());