MCPcopy Create free account
hub / github.com/aptabase/aptabase / HealthCheckTests

Class HealthCheckTests

tests/IntegrationTests/HealthCheckTests.cs:7–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace Aptabase.IntegrationTests;
6
7[Collection("Integration Tests")]
8public class HealthCheckTests
9{
10 private readonly HttpClient _client;
11 public HealthCheckTests(IntegrationTestsFixture fixture)
12 {
13 _client = fixture.CreateClient();
14 }
15
16 [Fact]
17 public async Task HealthCheck()
18 {
19 var response = await _client.GetAsync("/healthz");
20 response.StatusCode.Should().Be(HttpStatusCode.OK);
21 }
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected