From 1b2573d1c8fca090c56ab6d3cc8606e22be4ae2e Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Tue, 13 Jun 2023 13:06:31 -0400 Subject: [PATCH] Fix JwtAuthenticationTests assertion (#2844) Signed-off-by: Craig Perkins Signed-off-by: Sam --- .../org/opensearch/security/http/JwtAuthenticationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrationTest/java/org/opensearch/security/http/JwtAuthenticationTests.java b/src/integrationTest/java/org/opensearch/security/http/JwtAuthenticationTests.java index 5875a120a4..65a4e32d7e 100644 --- a/src/integrationTest/java/org/opensearch/security/http/JwtAuthenticationTests.java +++ b/src/integrationTest/java/org/opensearch/security/http/JwtAuthenticationTests.java @@ -141,7 +141,7 @@ public void shouldAuthenticateWithJwtToken_positive() { response.assertStatusCode(200); String username = response.getTextFromJsonBody(POINTER_USERNAME); - assertThat(username, equalTo(username)); + assertThat(username, equalTo(USER_SUPERHERO)); } }