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

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

            Mapper = configurationProvider.CreateMapper();
        }
Example #2
0
 public CommandTestBase()
 {
     _context = SimpleCMSContextFactory.Create();
 }