public async Task StartupAsync()
        {
            _factory.Should().NotBeNull();
            var client = _factory.CreateClient();

            client.Should().NotBeNull();
            var result = await client.GetAsync("/");

            result.IsSuccessStatusCode.Should().BeTrue();
        }
Exemple #2
0
 public void Startup()
 {
     _factory.Should().NotBeNull();
     _factory.CreateClient().Should().NotBeNull();
 }