Tweaks to `clear_config` calls in tests in order to prevent side effects on config...
[akkoma] / test / web / activity_pub / mrf / subchain_policy_test.exs
index f7cbcad48ec2480ec2c3d891211c7ef7d209bad8..29065f6120a5fb001dae844c7e7730e88a6773bb 100644 (file)
@@ -14,6 +14,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.SubchainPolicyTest do
     "object" => %{"content" => "hi"}
   }
 
+  clear_config([:mrf_subchain, :match_actor])
+
   test "it matches and processes subchains when the actor matches a configured target" do
     Pleroma.Config.put([:mrf_subchain, :match_actor], %{
       ~r/^https:\/\/banned.com/s => [DropPolicy]