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

View file

@ -321,7 +321,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest 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 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest 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"]
}) })
) )