test: rudimentary fix

This commit is contained in:
Schuwi
2025-09-20 11:55:59 +02:00
parent c6c218970c
commit 32dea59c74
3 changed files with 3 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ defmodule ComponentsElixirWeb.PageControllerTest do
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
# redirect to login
assert html_response(conn, 302)
end
end