test(AshAuthentication): updated tests for signed in user and added test for authcontroller
This commit is contained in:
parent
c7b13c0ecb
commit
fba9abc2c1
8 changed files with 116 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue