Example #1
0
 public CategoryIntegrationTests(AppTestFixture fixture)
 {
     _fixture = fixture;
     fixture.Server.PreserveExecutionContext = true;
     Client              = fixture.CreateClient();
     _testDriver         = new RouteTestDriver(Client);
     _categoryRepository = (CategoryRepository)fixture.Services.GetService(typeof(ICategoryRepository));
 }
Example #2
0
 public void Dispose()
 {
     _testDriver = null;
 }