Skip to content

Commit 800255d

Browse files
Fix analyzer warnings
Fix analyzer warnings found from using a prerelease version of the Roslyn analyzers.
1 parent 7d84184 commit 800255d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/AspNet.Security.OAuth.Providers.Tests/Infrastructure/ApplicationFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private static void ConfigureApplication<TOptions>(IApplicationBuilder app, OAut
110110
context.Response.StatusCode = 200;
111111
context.Response.ContentType = "text/xml";
112112

113-
await context.Response.Body.WriteAsync(buffer, 0, buffer.Length);
113+
await context.Response.Body.WriteAsync(buffer, context.RequestAborted);
114114
}
115115
else
116116
{

test/AspNet.Security.OAuth.Providers.Tests/LinkedIn/LinkedInTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace AspNet.Security.OAuth.LinkedIn
1818
{
1919
public class LinkedInTests : OAuthTests<LinkedInAuthenticationOptions>
2020
{
21-
private Action<LinkedInAuthenticationOptions>? additionalConfiguration = null;
21+
private Action<LinkedInAuthenticationOptions>? additionalConfiguration;
2222

2323
public LinkedInTests(ITestOutputHelper outputHelper)
2424
{

0 commit comments

Comments
 (0)