Skip to content

Commit 0fbf65a

Browse files
authored
credscan fix (#32249)
1 parent 39fc7f3 commit 0fbf65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middleware/ResponseCaching/test/ResponseCachingPolicyProviderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void AttemptResponseCaching_AuthorizationHeaders_NotAllowed()
7272
var sink = new TestSink();
7373
var context = TestUtils.CreateTestContext(sink);
7474
context.HttpContext.Request.Method = HttpMethods.Get;
75-
context.HttpContext.Request.Headers.Authorization = "Basic plaintextUN:plaintextPW";
75+
context.HttpContext.Request.Headers.Authorization = "Placeholder";
7676

7777
Assert.False(new ResponseCachingPolicyProvider().AttemptResponseCaching(context));
7878
TestUtils.AssertLoggedMessages(

0 commit comments

Comments
 (0)