using System.Net;
using WorkClub.Tests.Integration.Infrastructure;

namespace WorkClub.Tests.Integration;

public class SmokeTests : IntegrationTestBase
{
    public SmokeTests(CustomWebApplicationFactory<Program> factory) : base(factory)
    {
    }

    [Fact]
    public async Task HealthCheck_ReturnsOk()
    {
        var response = await Client.GetAsync("/health/live");
        Assert.Equal(HttpStatusCode.OK, response.StatusCode);
    }
}
