Skip to content

Commit

Permalink
Removing useless SMTP host setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Piedone committed Aug 9, 2024
1 parent f0fec2b commit 3e06fdc
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand All @@ -18,11 +17,6 @@ public static void SetEmailQuotaManagementOptionsForUITest(
"OrchardCore:Lombiq_Hosting_Tenants_EmailQuotaManagement:EmailQuotaPerMonth",
maximumEmails);

argumentsBuilder
.AddWithValue(
"OrchardCore:SmtpSettings:Host",
emailHost);

return Task.CompletedTask;
};

Expand Down

0 comments on commit 3e06fdc

Please sign in to comment.