From 6b6f383dbaa1743ed3b415c6e83f81593b85245a Mon Sep 17 00:00:00 2001 From: Shane32 Date: Mon, 19 Aug 2024 00:57:53 -0400 Subject: [PATCH] Update --- src/Tests/Middleware/AuthorizationTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tests/Middleware/AuthorizationTests.cs b/src/Tests/Middleware/AuthorizationTests.cs index 6cece03..d94036e 100644 --- a/src/Tests/Middleware/AuthorizationTests.cs +++ b/src/Tests/Middleware/AuthorizationTests.cs @@ -29,6 +29,7 @@ private TestServer CreateServer(Action? configureServices = .AddAutoSchema() .AddErrorInfoProvider(new CustomErrorInfoProvider(this)) .AddSystemTextJson()); + services.AddRouting(); services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) .AddJwtBearer(options => { options.TokenValidationParameters.ValidateIssuerSigningKey = false;