diff --git a/test/pleroma/web/activity_pub/publisher_test.exs b/test/pleroma/web/activity_pub/publisher_test.exs index f6a4f5541..5aef579c0 100644 --- a/test/pleroma/web/activity_pub/publisher_test.exs +++ b/test/pleroma/web/activity_pub/publisher_test.exs @@ -290,7 +290,8 @@ test "publish to url with with different ports" do user: actor, recipients: [follower.ap_id] ) - public_note_activity = + + public_note_activity = insert(:note_activity, user: actor, recipients: [follower.ap_id, @as_public] @@ -309,6 +310,7 @@ test "publish to url with with different ports" do id: note_activity.data["id"] }) ) + assert not called( Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{ inbox: "https://domain.com/users/nick1/inbox", @@ -360,6 +362,7 @@ test "publish to url with with different ports" do [:passthrough], [] do Config.put([:instance, :quarantined_instances], []) + follower = insert(:user, %{ local: false,