Esempio n. 1
0
 protected ApiFixture()
 {
     webAppFactory = new WebAppFactory <TStartup>(RegisterDependencies, ConfigureWebHost);
     httpClient    = new Lazy <HttpClient>(() => webAppFactory.CreateClient());
 }
Esempio n. 2
0
        public ApiFixture()
        {
            var webAppFactory = new WebAppFactory <TStartup>(RegisterDependencies, ConfigureWebHost);

            httpClient = webAppFactory.CreateClient();
        }