public QueryTestFixture() { _context = ApplicationDbContextFactory.Create(); UnitOfWork = new UnitOfWork(_context); var configProvider = new MapperConfiguration(cfg => { cfg.AddProfile <MappingProfile>(); }); Mapper = configProvider.CreateMapper(); }
public TestFixture() { DbContext = ApplicationDbContextFactory.Create(); var configurationProvider = new MapperConfiguration(cfg => { cfg.AddProfile <MappingProfile>(); }); Mapper = configurationProvider.CreateMapper(); }
public CommandTestBase() { Context = ApplicationDbContextFactory.Create(); }
public CommandTestBase() { _context = ApplicationDbContextFactory.Create(); UnitOfWork = new UnitOfWork(_context); }