Exemplo n.º 1
0
 public AuthenticationControllerIntegrationTests(InMemoryKIOTApiFactory <Startup> factory)
 {
     _factory    = factory;
     _httpClient = _factory.CreateClient();
     _factory.SeedDbContext();
     _client = new Client("http://localhost:5000", _httpClient);
 }
Exemplo n.º 2
0
 public AccountsControllerIntegrationTests(InMemoryKIOTApiFactory <Startup> factory, ITestOutputHelper output)
 {
     _factory    = factory;
     _httpClient = _factory.CreateClient();
     _factory.SeedDbContext();
     _client = new Client("http://localhost:5000", _httpClient);
     _output = output;
 }