Fix signed fetch inclusion publisher test

Oban branch changed `actor` to `actor_id` and this test was not adjusted for that
This commit is contained in:
rinpatch 2019-09-16 13:23:06 +03:00
parent fe7fd33126
commit e8120944d8
1 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ test "it returns inbox for messages involving single recipients in total" do
assert called( assert called(
Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{ Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{
inbox: "https://domain.com/users/nick1/inbox", inbox: "https://domain.com/users/nick1/inbox",
actor: actor, actor_id: actor.id,
id: delete.data["id"] id: delete.data["id"]
}) })
) )
@ -329,7 +329,7 @@ test "it returns inbox for messages involving single recipients in total" do
assert called( assert called(
Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{ Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{
inbox: "https://domain2.com/users/nick1/inbox", inbox: "https://domain2.com/users/nick1/inbox",
actor: actor, actor_id: actor.id,
id: delete.data["id"] id: delete.data["id"]
}) })
) )