EnrichmentStatus 0→100%, HealthController 0→100%, Maidenhead 74→96%, RemoteIp 56→94%, Markdown 0→92%. Total coverage 53→55%.
10 lines
295 B
Elixir
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
|