From e056f1b282c7d3915854ed0239433e4cc4dca0e6 Mon Sep 17 00:00:00 2001 From: Stephan Date: Tue, 20 Nov 2018 15:17:01 +0100 Subject: [PATCH] Fix tests --- src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs b/src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs index 533e2f1a55..9a8164356a 100755 --- a/src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs +++ b/src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs @@ -13,7 +13,6 @@ using Umbraco.Core.Persistence; using Umbraco.Core.Runtime; using Umbraco.Tests.TestHelpers; using Umbraco.Tests.TestHelpers.Stubs; -using Umbraco.Examine; using Umbraco.Web; namespace Umbraco.Tests.Runtimes @@ -61,23 +60,13 @@ namespace Umbraco.Tests.Runtimes { protected override IRuntime GetRuntime() { - return new TestRuntime(this); + return new TestRuntime(); } - - // don't register anything against AppDomain - protected override void ConfigureUnhandledException(ILogger logger) - { } } // test runtime public class TestRuntime : CoreRuntime { - public TestRuntime(UmbracoApplicationBase umbracoApplication) - : base() - { - _umbracoApplication = umbracoApplication; - } - // the application's logger is created by the application // through GetLogger, that custom application can override protected override ILogger GetLogger() @@ -118,7 +107,6 @@ namespace Umbraco.Tests.Runtimes } private MainDom _mainDom; - private readonly UmbracoApplicationBase _umbracoApplication; public override void Boot(ServiceContainer container) {