Ejemplo n.º 1
0
        public async Task ShouldHealthMonitorReturns200()
        {
            var httpClient = await HttpClientProvider.PrepareClientWithTokenForScopesAsync("HealthMonitor");

            var result = await httpClient.GetAsync(new Uri(MonolithSettings.BaseUrl, "api/health-monitor"));

            result.StatusCode.Should().Be(HttpStatusCode.OK);
        }