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 committed by carla
parent c7b13c0ecb
commit fba9abc2c1
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