diff --git a/server/tests/Vanguard.Server.Tests/OrleansServerE2ETests.cs b/server/tests/Vanguard.Server.Tests/OrleansServerE2ETests.cs index 06e42dd..edc1a64 100644 --- a/server/tests/Vanguard.Server.Tests/OrleansServerE2ETests.cs +++ b/server/tests/Vanguard.Server.Tests/OrleansServerE2ETests.cs @@ -53,11 +53,7 @@ public class OrleansServerE2ETests private static WebApplicationFactory NewFactory() => new WebApplicationFactory().WithWebHostBuilder(builder => - builder.ConfigureHostConfiguration(config => - config.AddInMemoryCollection(new Dictionary - { - ["Orleans:Enabled"] = "true", - }))); + builder.UseSetting("Orleans:Enabled", "true")); private static async Task EnqueueAsync( HttpClient http,