Pass actor to CustomFieldValue destroy and load in existing tests
Required after CustomFieldValue gained authorization policies.
This commit is contained in:
parent
bf2d0352c1
commit
17831a0948
2 changed files with 2 additions and 2 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue