Add tests for health controller

This commit is contained in:
Claudio Ortolina
2026-02-09 11:12:02 +00:00
parent 356efb1c65
commit fc307a0aba
@@ -0,0 +1,12 @@
defmodule MusicLibraryWeb.HealthControllerTest do
use MusicLibraryWeb.ConnCase
describe "GET /health" do
@tag :logged_out
test "returns 200 with health message", %{conn: conn} do
conn = get(conn, "/health")
assert html_response(conn, 200) =~ "App is running"
end
end
end