Skip to content

Commit

Permalink
Development: Swap Test Names for Bearer auth (#9982)
Browse files Browse the repository at this point in the history
  • Loading branch information
janthoXO authored Dec 10, 2024
1 parent dfc4f80 commit 8398a27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void testJWTFilterCookie() throws Exception {
}

@Test
void testJWTFilterBearer() throws Exception {
void testJWTFilterCookieAndBearer() throws Exception {
UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken("test-user", "test-password",
Collections.singletonList(new SimpleGrantedAuthority(Role.STUDENT.getAuthority())));

Expand All @@ -79,7 +79,7 @@ void testJWTFilterBearer() throws Exception {
}

@Test
void testJWTFilterCookieAndBearer() throws Exception {
void testJWTFilterBearer() throws Exception {
UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken("test-user", "test-password",
Collections.singletonList(new SimpleGrantedAuthority(Role.STUDENT.getAuthority())));

Expand Down

0 comments on commit 8398a27

Please sign in to comment.