Skip to content

Commit 7e8acd4

Browse files
authored
Fix JwtAuthenticationTests assertion (#2844)
Signed-off-by: Craig Perkins <cwperx@amazon.com>
1 parent 0dbd84c commit 7e8acd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrationTest/java/org/opensearch/security/http/JwtAuthenticationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void shouldAuthenticateWithJwtToken_positive() {
141141

142142
response.assertStatusCode(200);
143143
String username = response.getTextFromJsonBody(POINTER_USERNAME);
144-
assertThat(username, equalTo(username));
144+
assertThat(username, equalTo(USER_SUPERHERO));
145145
}
146146
}
147147

0 commit comments

Comments
 (0)