From 1f4a1ec2b5c412a86a5215c46809ebd39e7a85af Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Tue, 26 Jul 2022 11:58:11 +0100 Subject: [PATCH] fix tests --- test/pleroma/web/activity_pub/publisher_test.exs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/pleroma/web/activity_pub/publisher_test.exs b/test/pleroma/web/activity_pub/publisher_test.exs index 5aef579c0..e0054b788 100644 --- a/test/pleroma/web/activity_pub/publisher_test.exs +++ b/test/pleroma/web/activity_pub/publisher_test.exs @@ -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,