Exemplo n.º 1
0
 public ControllerTestBase(ApiTestFixture fixture)
 {
     _repository  = (IRepository <TEntity>)fixture.ServiceProvider.GetService(typeof(IRepository <TEntity>));
     _mapper      = (IMapper)fixture.ServiceProvider.GetService(typeof(IMapper));
     _seeder      = (IDataObjectSeed <TEntity>)fixture.ServiceProvider.GetService(typeof(IDataObjectSeed <TEntity>));
     _client      = fixture.Client;
     _odataClient = fixture.ODataClient;
     _fixture     = fixture;
 }
Exemplo n.º 2
0
 public ProductControllerTests(ApiTestFixture fixture) : base(fixture)
 {
 }
Exemplo n.º 3
0
 public CategoryControllerTests(ApiTestFixture fixture) : base(fixture)
 {
 }
 public StockEntryControllerTests(ApiTestFixture fixture) : base(fixture)
 {
 }
Exemplo n.º 5
0
 public SupplierControllerTests(ApiTestFixture fixture) : base(fixture)
 {
 }
Exemplo n.º 6
0
 public POSOrderControllerTests(ApiTestFixture fixture) : base(fixture)
 {
 }