Example #1
0
        public async Task CanGetHealthCheck(string rootUrl)
        {
            var gateway = new PortalGateway(rootUrl);

            var result = await IntegrationTestFixture.TestPolicy.ExecuteAsync(() =>
            {
                return(gateway.HealthCheck());
            });

            Assert.NotNull(result);
            Assert.Null(result.Error);
            Assert.True(result.IsHealthy);
        }