fix tests

This commit is contained in:
FloatingGhost 2022-07-26 11:58:11 +01:00
parent 4e69477451
commit 1f4a1ec2b5

View file

@ -23,7 +23,10 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
:ok
end
setup_all do: clear_config([:instance, :federating], true)
setup_all do
clear_config([:instance, :federating], true)
clear_config([:instance, :quarantined_instances], [])
end
describe "gather_webfinger_links/1" do
test "it returns links" do
@ -397,6 +400,7 @@ test "publish to url with with different ports" do
Pleroma.Web.Federator.Publisher,
[:passthrough],
[] do
clear_config([:instance, :quarantined_instances], [])
fetcher =
insert(:user,
local: false,