Fix test failures for NoOpPolicy describe/0
authorMark Felder <feld@FreeBSD.org>
Fri, 25 Sep 2020 17:46:49 +0000 (12:46 -0500)
committerMark Felder <feld@FreeBSD.org>
Fri, 25 Sep 2020 17:46:49 +0000 (12:46 -0500)
test/web/activity_pub/mrf/mrf_test.exs

index a63b254233fc2ecd9254c7adff3eb733488538b1..e82c8afa6b62d8b371148299a34f47fe9d9b1f88 100644 (file)
@@ -61,6 +61,8 @@ defmodule Pleroma.Web.ActivityPub.MRFTest do
 
   describe "describe/0" do
     test "it works as expected with noop policy" do
+      clear_config([:mrf, :policies], [Pleroma.Web.ActivityPub.MRF.NoOpPolicy])
+
       expected = %{
         mrf_policies: ["NoOpPolicy"],
         exclusions: false