Skip to content
Snippets Groups Projects
Commit ce12f7d4 authored by Xiangliang Meng's avatar Xiangliang Meng
Browse files

Merge branch 'DavidMeng-master-patch-21556' into 'master'

Fix for SonarQube

See merge request !261
parents 76ebe861 cd74ab39
No related branches found
No related tags found
1 merge request!261Fix for SonarQube
Pipeline #137112 passed with warnings
......@@ -112,7 +112,7 @@ public class AuthorizationFilterTest {
this.sut.hasAnyPermission(ROLE3);
}
@Test
@Test(expected = Test.None.class)
public void should_authenticateRequest_when_isFromPubsubAndUserIdentityIsCorrect() {
when(headers.getAuthorization()).thenReturn(TEST_PUBSUB_JWT);
when(this.validator.isValidServiceAccount(any(), any())).thenReturn(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment