Exemplo n.º 1
0
 public PaymentTest(CustomFactory <Startup> factory)
 {
     _factory = factory;
     _client  = _factory.CreateClient(new Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryClientOptions()
     {
         AllowAutoRedirect = false
     });
 }
Exemplo n.º 2
0
 public TestPatient(CustomFactory <Startup> server)
 {
     _server = server;
     _client = _server.CreateClient();
 }