mix format
Some checks failed
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline failed

This commit is contained in:
FloatingGhost 2022-07-25 17:42:07 +01:00
parent f2c7502a0a
commit de90472d54

View file

@ -290,7 +290,8 @@ test "publish to url with with different ports" do
user: actor, user: actor,
recipients: [follower.ap_id] recipients: [follower.ap_id]
) )
public_note_activity =
public_note_activity =
insert(:note_activity, insert(:note_activity,
user: actor, user: actor,
recipients: [follower.ap_id, @as_public] recipients: [follower.ap_id, @as_public]
@ -309,6 +310,7 @@ test "publish to url with with different ports" do
id: note_activity.data["id"] id: note_activity.data["id"]
}) })
) )
assert not called( assert not 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",
@ -360,6 +362,7 @@ test "publish to url with with different ports" do
[:passthrough], [:passthrough],
[] do [] do
Config.put([:instance, :quarantined_instances], []) Config.put([:instance, :quarantined_instances], [])
follower = follower =
insert(:user, %{ insert(:user, %{
local: false, local: false,