AB3594 - Moved the composition root out to UmbracoApplicationBase, and injecting the needed parts from there. Also remove usages of ConfigurationManager from Umbraco.Core

This commit is contained in:
Bjarke Berg
2019-11-15 11:07:37 +01:00
parent 126380dcee
commit 603ec0ccfb
63 changed files with 441 additions and 339 deletions

View File

@@ -24,7 +24,7 @@ namespace Umbraco.Tests.Cache.DistributedCache
[SetUp]
public void Setup()
{
var register = RegisterFactory.Create();
var register = TestHelper.GetRegister();
var composition = new Composition(register, TestHelper.GetMockedTypeLoader(), Mock.Of<IProfilingLogger>(), ComponentTests.MockRuntimeState(RuntimeLevel.Run), TestHelper.GetConfigs());