Fix tests
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user