From 5dfa5fc4195f4d5ff25a40410817c038aa8f1f26 Mon Sep 17 00:00:00 2001 From: MpakobecEx Date: Wed, 21 Oct 2026 16:10:50 +0500 Subject: [PATCH] Use host setting for Orleans E2E --- server/tests/Vanguard.Server.Tests/OrleansServerE2ETests.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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,