public IntegrationTestsFixture(ApiFactory <TStartup> apiFactory, HttpClient httpClient) { //WebApplicationFactoryClientOptions factoryClientOptions = new WebApplicationFactoryClientOptions() { }; ApiFactory = new ApiFactory <TStartup>(); HttpClient = ApiFactory.CreateClient(); }
public AuthorizeTests(ApiFactory <ApiProject.Startup> factory) { _factory = factory; _client = factory.CreateClient(new WebApplicationFactoryClientOptions() { AllowAutoRedirect = false, }); }
public void TestInitialize() { factory = new ApiFactory(FakeDatabaseType.SQLiteInMemory, MockServices, SeedDatabase); client = factory.CreateClient(ValidOwnerToken); }
public ApiTodoItemControllerList(ApiFactory <Startup> factory) { _client = factory.CreateClient(); }
public MetaControllerInfo(ApiFactory <Startup> factory) { _client = factory.CreateClient(); }