diff --git a/Lombiq.Hosting.Tenants.EmailQuotaManagement.Tests.UI/Extensions/EmailQuotaManagementExtensions.cs b/Lombiq.Hosting.Tenants.EmailQuotaManagement.Tests.UI/Extensions/EmailQuotaManagementExtensions.cs index 4d2e4915..8087a753 100644 --- a/Lombiq.Hosting.Tenants.EmailQuotaManagement.Tests.UI/Extensions/EmailQuotaManagementExtensions.cs +++ b/Lombiq.Hosting.Tenants.EmailQuotaManagement.Tests.UI/Extensions/EmailQuotaManagementExtensions.cs @@ -7,8 +7,7 @@ public static class EmailQuotaManagementExtensions { public static void SetEmailQuotaManagementOptionsForUITest( this OrchardCoreUITestExecutorConfiguration configuration, - long maximumEmails, - string emailHost = "localhost") + long maximumEmails) { configuration.OrchardCoreConfiguration.BeforeAppStart += (_, argumentsBuilder) => @@ -18,11 +17,6 @@ public static void SetEmailQuotaManagementOptionsForUITest( "OrchardCore:Lombiq_Hosting_Tenants_EmailQuotaManagement:EmailQuotaPerMonth", maximumEmails); - argumentsBuilder - .AddWithValue( - "OrchardCore:SmtpSettings:Host", - emailHost); - return Task.CompletedTask; };