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