Fix signed fetch inclusion publisher test
authorrinpatch <rinpatch@sdf.org>
Mon, 16 Sep 2019 10:23:06 +0000 (13:23 +0300)
committerrinpatch <rinpatch@sdf.org>
Mon, 16 Sep 2019 10:23:06 +0000 (13:23 +0300)
Oban branch changed `actor` to `actor_id` and this test was not adjusted for that

test/web/activity_pub/publisher_test.exs

index c7d1d05aaa1a2eafd134525cbfad7ea81c0b2267..df03b40087aa708036eb6568f2a58522b899e150 100644 (file)
@@ -321,7 +321,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
       assert called(
                Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{
                  inbox: "https://domain.com/users/nick1/inbox",
-                 actor: actor,
+                 actor_id: actor.id,
                  id: delete.data["id"]
                })
              )
@@ -329,7 +329,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
       assert called(
                Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{
                  inbox: "https://domain2.com/users/nick1/inbox",
-                 actor: actor,
+                 actor_id: actor.id,
                  id: delete.data["id"]
                })
              )