We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75cf09b commit 528e254Copy full SHA for 528e254
1 file changed
Boundaries/Comanda.Profiles/Tests/Fixtures/WebApplicationFixture.cs
@@ -1,5 +1,6 @@
1
using Microsoft.AspNetCore.Authentication;
2
using Microsoft.AspNetCore.Authorization;
3
+using Microsoft.AspNetCore.Hosting;
4
5
namespace Comanda.Profiles.TestSuite.Fixtures;
6
@@ -28,6 +29,7 @@ public async ValueTask InitializeAsync()
28
29
_factory = new WebApplicationFactory<Program>()
30
.WithWebHostBuilder(builder =>
31
{
32
+ builder.UseEnvironment("Testing");
33
builder.ConfigureServices(services =>
34
35
services.AddAuthentication(options =>
0 commit comments