Skip to content

Commit 127b4b9

Browse files
committed
Avoid false positive credscan flag
1 parent a8ab857 commit 127b4b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal4j-sdk/src/test/java/com/microsoft/aad/msal4j/ManagedIdentityTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ void azureArcManagedIdentity_InvalidAuthHeader() throws Exception {
551551

552552
HttpResponse response = new HttpResponse();
553553
response.statusCode(HttpStatus.SC_UNAUTHORIZED);
554-
response.headers().put("WWW-Authenticate", Collections.singletonList("Basic realm=filepath=somepath"));
554+
response.headers().put("WWW-Authenticate", Collections.singletonList("Basic realm=abc=xyz"));
555555

556556
when(httpClientMock.send(any())).thenReturn(response);
557557

0 commit comments

Comments
 (0)