UnitOfWork RIP, build tests

This commit is contained in:
Stephan
2017-12-15 11:19:03 +01:00
parent 33b4af0340
commit e4b375f72d
43 changed files with 1793 additions and 1865 deletions

View File

@@ -294,9 +294,6 @@ namespace Umbraco.Tests.Testing
Container.RegisterSingleton(factory => new FileSystems(factory.TryGetInstance<ILogger>()));
Container.RegisterSingleton(factory
=> TestObjects.GetScopeProvider(factory.TryGetInstance<ILogger>(), factory.TryGetInstance<FileSystems>(), factory.TryGetInstance<IUmbracoDatabaseFactory>()));
Container.RegisterSingleton(factory
=> TestObjects.GetScopeUnitOfWorkProvider(factory.TryGetInstance<ILogger>(), factory.TryGetInstance<IUmbracoDatabaseFactory>(),
factory.TryGetInstance<RepositoryFactory>(), factory.TryGetInstance<IScopeProvider>()));
Container.RegisterFrom<ServicesCompositionRoot>();
// composition root is doing weird things, fix