From: Mark Felder Date: Fri, 25 Sep 2020 17:46:49 +0000 (-0500) Subject: Fix test failures for NoOpPolicy describe/0 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=93b674b66da31964e838c8632ce8cdd7e722516a;p=akkoma Fix test failures for NoOpPolicy describe/0 --- diff --git a/test/web/activity_pub/mrf/mrf_test.exs b/test/web/activity_pub/mrf/mrf_test.exs index a63b25423..e82c8afa6 100644 --- a/test/web/activity_pub/mrf/mrf_test.exs +++ b/test/web/activity_pub/mrf/mrf_test.exs @@ -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