Pass actor to CustomFieldValue destroy and load in existing tests

Required after CustomFieldValue gained authorization policies.
This commit is contained in:
Moritz 2026-01-27 13:40:29 +01:00 committed by moritz
parent bf2d0352c1
commit 17831a0948
2 changed files with 2 additions and 2 deletions

View file

@ -348,7 +348,7 @@ defmodule Mv.Membership.MemberSearchWithCustomFieldsTest do
assert List.first(results).id == member1.id
# Delete custom field value
assert :ok = Ash.destroy(cfv)
assert :ok = Ash.destroy(cfv, actor: system_actor)
# Value should no longer be found
deleted_results =