remove public post quarantine exception #114

Merged
floatingghost merged 8 commits from remove-public-quarantine-exception into develop 2022-07-26 11:09:14 +00:00
Showing only changes of commit de90472d54 - Show all commits

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,