예제 #1
0
        public async Task GetTenant()
        {
            var response = await _server.HttpClient.GetAsync("/");

            Assert.IsTrue(response.IsSuccessStatusCode);

            var content = await response.Content.ReadAsStringAsync();

            Assert.IsNotNull(content);
            Assert.AreEqual(content, _resolver.GetTenants().First().Name);
        }