test(AshAuthentication): updated tests for signed in user and added test for authcontroller

This commit is contained in:
carla 2025-07-02 11:32:48 +02:00
parent b1f5e09eaf
commit f08e773d86
8 changed files with 116 additions and 2 deletions

View file

@ -2,7 +2,9 @@ defmodule MvWeb.PageControllerTest do
use MvWeb.ConnCase
test "GET /", %{conn: conn} do
conn = conn_with_oidc_user(conn)
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
assert html_response(conn, 200) =~ "Mitgliederverwaltung"
end
end