Skip to content

Commit c77df47

Browse files
committed
Fix test failures
1 parent 3f3f7b2 commit c77df47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/PipelineFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static TestServer CreateServer(Action<IdentityServerAuthenticationOptions
2727
{
2828
app.UseAuthentication();
2929

30-
app.Use(async (context, next) =>
30+
app.Run(async (context) =>
3131
{
3232
var user = context.User;
3333

@@ -40,7 +40,7 @@ public static TestServer CreateServer(Action<IdentityServerAuthenticationOptions
4040
context.Response.StatusCode = 401;
4141
}
4242

43-
await next();
43+
await Task.CompletedTask;
4444
});
4545
}));
4646
}

0 commit comments

Comments
 (0)