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