Skip to content

Commit

Permalink
Remove the comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Oct 10, 2023
1 parent 20fe630 commit ebaf13d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ private AuthCredentials testEndpoint(OnBehalfOfAuthenticator jwtAuth, String end
SecurityRequest mockedRequest = Mockito.mock(SecurityRequest.class);
Mockito.when(mockedRequest.header(HttpHeaders.AUTHORIZATION)).thenReturn("Bearer someToken");
Mockito.when(mockedRequest.method()).thenReturn(RestRequest.Method.valueOf(httpMethod));
Mockito.when(mockedRequest.path()).thenReturn("/some_prefix/" + endpoint); // Adjust the prefix if needed
Mockito.when(mockedRequest.path()).thenReturn("/some_prefix/" + endpoint);

return jwtAuth.extractCredentials(mockedRequest, null);
}
Expand Down

0 comments on commit ebaf13d

Please sign in to comment.