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