fix: failing test due to merge
This commit is contained in:
parent
03f27a5938
commit
e4671e816b
3 changed files with 37 additions and 7 deletions
|
|
@ -178,6 +178,7 @@ defmodule MvWeb.ConnCase do
|
|||
:read_only ->
|
||||
# Vorstand/Buchhaltung: can read members, groups; cannot edit or access admin/settings
|
||||
read_only_user = Mv.Fixtures.user_with_role_fixture("read_only")
|
||||
read_only_user = Mv.Authorization.Actor.ensure_loaded(read_only_user)
|
||||
authenticated_conn = conn_with_password_user(conn, read_only_user)
|
||||
{authenticated_conn, read_only_user}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue