From f111cf2b6f91eceb2e491e964bb0ad86858eb318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20El-Saig?= Date: Mon, 21 Feb 2022 19:54:05 +0100 Subject: [PATCH] Move comment back to sample. --- Lombiq.Tests.UI.Samples/UITestBase.cs | 5 +++++ Lombiq.Tests.UI/Services/OrchardCoreInstance.cs | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Lombiq.Tests.UI.Samples/UITestBase.cs b/Lombiq.Tests.UI.Samples/UITestBase.cs index dac5877dd..cd558ea93 100644 --- a/Lombiq.Tests.UI.Samples/UITestBase.cs +++ b/Lombiq.Tests.UI.Samples/UITestBase.cs @@ -65,6 +65,11 @@ protected override Task ExecuteTestAsync( // There are event handlers that you can hook into. This method sets BeforeAppStart which is just // one of many. Check out the others in OrchardCoreConfiguration if you're interested. + // This is quite handy! We're adding a configuration parameter when launching the app. This + // can be used to set configuration for configuration providers, see the docs: + // https://docs.orchardcore.net/en/latest/docs/reference/core/Configuration/. + // What's happening here is that we set the Lombiq Application Insights module's parameter + // to allow us to test it. We'll get back to this later when writing the actual test. configuration.OrchardCoreConfiguration.EnableApplicationInsightsOfflineOperation(); // Note that automatic HTML markup validation is enabled on every page change by default (you can diff --git a/Lombiq.Tests.UI/Services/OrchardCoreInstance.cs b/Lombiq.Tests.UI/Services/OrchardCoreInstance.cs index d613f92f8..b9d0de4db 100644 --- a/Lombiq.Tests.UI/Services/OrchardCoreInstance.cs +++ b/Lombiq.Tests.UI/Services/OrchardCoreInstance.cs @@ -34,11 +34,6 @@ public void EnableApplicationInsightsOfflineOperation() => BeforeAppStart += (_, argumentsBuilder) => { - // This is quite handy! We're adding a configuration parameter when launching the app. This - // can be used to set configuration for configuration providers, see the docs: - // https://docs.orchardcore.net/en/latest/docs/reference/core/Configuration/. - // What's happening here is that we set the Lombiq Application Insights module's parameter - // to allow us to test it. We'll get back to this later when writing the actual test. argumentsBuilder .Add("--OrchardCore:Lombiq_Hosting_Azure_ApplicationInsights:EnableOfflineOperation") .Add("true");