prop/test/microwaveprop_web/controllers/health_controller_test.exs
Graham McIntire 7e52c6660d Add Tier 1 test coverage: EnrichmentStatus, Markdown, health, RemoteIp, Maidenhead
EnrichmentStatus 0→100%, HealthController 0→100%, Maidenhead 74→96%,
RemoteIp 56→94%, Markdown 0→92%. Total coverage 53→55%.
2026-04-06 10:15:38 -05:00

10 lines
295 B
Elixir

defmodule MicrowavepropWeb.HealthControllerTest do
use MicrowavepropWeb.ConnCase, async: true
test "GET /health returns 200 ok", %{conn: conn} do
conn = get(conn, "/health")
assert response(conn, 200) == "ok"
assert response_content_type(conn, :text) =~ "text/plain"
end
end