Esempio n. 1
0
        public WikiApiClientIntegrationTests()
        {
            var httpClient = new HttpClient()
            {
                BaseAddress = new Uri("https://en.wikipedia.org/"),
                Timeout     = TimeSpan.FromSeconds(30),
            };

            wikiApiClient = new WikiApiClient(httpClient);
        }
 public PlacesControllerTests()
 {
     openWeatherApiClient = CreateMockWeatherApiClient();
     newsApiClient        = CreateMockNewsApiClient();
     wikiApiClient        = CreateMockWikiApiClient();
 }