Moved creation of container into ContainerFactory

This commit is contained in:
Lars-Erik Aabech
2018-07-27 21:16:11 +02:00
parent f7a599b607
commit caa2802c16
15 changed files with 51 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ namespace Umbraco.Tests.Cache.DistributedCache
[SetUp]
public void Setup()
{
var container = Current.Container = Core.Composing.LightInject.LightInjectContainer.Create();
var container = Current.Container = ContainerFactory.Create();
container.Register<IServerRegistrar>(_ => new TestServerRegistrar());
container.RegisterSingleton<IServerMessenger>(_ => new TestServerMessenger());