Skip to content

Commit

Permalink
Move comment back to sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Feb 21, 2022
1 parent e81c679 commit f111cf2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Lombiq.Tests.UI.Samples/UITestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions Lombiq.Tests.UI/Services/OrchardCoreInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f111cf2

Please sign in to comment.