Exemplo n.º 1
0
        public BaseTest()
        {
            EffortProviderFactory.ResetDb();

            this.Factory = new EffortProviderFactory();
            this.Context = new RedackDbContext(this.Factory.CreateConnection(""));
        }
Exemplo n.º 2
0
        public void Setup()
        {
            EffortProviderFactory.ResetDb();

            Mapper.Reset();
            _context = ContextControl.GetTestData();
            ContextControl.InitialiseMaps();

            _controller = new DocumentsController(_context);
        }
Exemplo n.º 3
0
 public void Initialize()
 {
     EffortProviderFactory.ResetDb();
 }
Exemplo n.º 4
0
 public void Setup()
 {
     cc.ResetContext();
     EffortProviderFactory.ResetDb();
 }