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

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

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