Add actor parameter to all tests requiring authorization
This commit adds actor: system_actor to all Ash operations in tests that require authorization.
This commit is contained in:
parent
686f69c9e9
commit
0f48a9b15a
75 changed files with 4686 additions and 2859 deletions
|
|
@ -512,7 +512,10 @@ defmodule Mv.Membership.Import.MemberCSV do
|
|||
member_attrs_with_cf
|
||||
end
|
||||
|
||||
case Mv.Membership.create_member(final_attrs) do
|
||||
# Use system_actor for CSV imports (systemic operation)
|
||||
system_actor = Mv.Helpers.SystemActor.get_system_actor()
|
||||
|
||||
case Mv.Membership.create_member(final_attrs, actor: system_actor) do
|
||||
{:ok, member} ->
|
||||
{:ok, member}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue