mirror of
https://github.com/ash-project/ash_archival.git
synced 2024-09-19 21:13:00 +12:00
fix actor in test
This commit is contained in:
parent
25d7bba700
commit
38149bb589
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ defmodule ArchivalWithPolicyTest do
|
|||
|> Ash.Changeset.for_create(:create, %{post_id: post.id})
|
||||
|> Api.create!()
|
||||
|
||||
assert :ok = author |> Api.destroy!()
|
||||
assert :ok = author |> Api.destroy!(actor: %{admin: true})
|
||||
|
||||
[archived_post] = Api.read!(PostWithArchive)
|
||||
assert archived_post.id == post.id
|
||||
|
|
Loading…
Reference in a new issue