mitgliederverwaltung/test/mv_web/controllers/page_controller_test.exs
carla 2027c993b4
All checks were successful
continuous-integration/drone/push Build is passing
test updated
2025-11-27 15:49:29 +01:00

11 lines
333 B
Elixir

defmodule MvWeb.PageControllerTest do
use MvWeb.ConnCase, async: true
test "renders home template successfully with authenticated user", %{conn: conn} do
user = create_test_user(%{email: "test@example.com"})
conn = conn_with_oidc_user(conn, user)
conn = get(conn, "/")
assert html_response(conn, 200)
end
end