| 5 | namespace Aptabase.IntegrationTests; |
| 6 | |
| 7 | [Collection("Integration Tests")] |
| 8 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected