public QueryTestFixture()
        {
            Context = SimpleCMSContextFactory.Create();

            var configurationProvider = new MapperConfiguration(configuration =>
            {
                configuration.AddProfile <MappingProfile>();
            });

            Mapper = configurationProvider.CreateMapper();
        }
 public void Dispose()
 {
     SimpleCMSContextFactory.Dispose(Context);
 }
Example #3
0
 public CommandTestBase()
 {
     _context = SimpleCMSContextFactory.Create();
 }