Migrate Querying tests
This commit is contained in:
@@ -35,6 +35,8 @@ namespace Umbraco.Tests.TestHelpers
|
||||
composition.WithCollectionBuilder<MapperCollectionBuilder>()
|
||||
.AddCoreMappers();
|
||||
|
||||
composition.RegisterUnique<ISqlContext>(_ => SqlContext);
|
||||
|
||||
var factory = composition.CreateFactory();
|
||||
var pocoMappers = new NPoco.MapperCollection { new PocoMapper() };
|
||||
var pocoDataFactory = new FluentPocoDataFactory((type, iPocoDataFactory) => new PocoDataBuilder(type, pocoMappers).Init());
|
||||
|
||||
Reference in New Issue
Block a user