public FeedControllerTests(SbWebApplicationFactory factory) { _client = factory.CreateClient(new WebApplicationFactoryClientOptions() { AllowAutoRedirect = false }); }
//private readonly UriBuilder _uri = new UriBuilder() //{ // Path = "api/account" //}; public AccountControllerTests(SbWebApplicationFactory factory) { _client = factory.CreateClient(); }
public StudyRoomApiTests(SbWebApplicationFactory factory) { _client = factory.CreateClient(); }
public HomePageControllerTests(SbWebApplicationFactory factory) { _client = factory.CreateClient(); }
/* * private readonly object _cred = new * { * confirmPassword = "******", * email = "*****@*****.**", * password = "******" * }; */ //private UriBuilder _uri = new UriBuilder() //{ // Path = "api/register" //}; public RegisterControllerTests(SbWebApplicationFactory factory) { _client = factory.CreateClient(); _client.DefaultRequestHeaders.Referrer = new Uri(_swaggerLink); }
public CouponController(SbWebApplicationFactory factory) { _client = factory.CreateClient(); }
public UniversityControllerTests(SbWebApplicationFactory factory) { _client = factory.CreateClient(); }