We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9df4255 commit 3e69611Copy full SHA for 3e69611
2 files changed
Boundaries/Comanda.Orders/Tests/Fixtures/WebApplicationFixture.cs
@@ -25,6 +25,7 @@ public async ValueTask InitializeAsync()
25
_factory = new WebApplicationFactory<Program>()
26
.WithWebHostBuilder(builder =>
27
{
28
+ builder.UseEnvironment("Testing");
29
builder.ConfigureServices(services =>
30
31
services.AddAuthentication(options =>
Boundaries/Comanda.Orders/Tests/Usings.cs
@@ -9,6 +9,7 @@
9
global using Microsoft.AspNetCore.Authorization;
10
11
global using Microsoft.AspNetCore.Mvc.Testing;
12
+global using Microsoft.AspNetCore.Hosting;
13
global using Microsoft.Extensions.DependencyInjection;
14
15
global using Comanda.Orders.WebApi;
0 commit comments