Fix test failures for NoOpPolicy describe/0

This commit is contained in:
Mark Felder 2020-09-25 12:46:49 -05:00
parent 1672d8b37c
commit 93b674b66d

View file

@ -61,6 +61,8 @@ test "matches are case-insensitive" do
describe "describe/0" do describe "describe/0" do
test "it works as expected with noop policy" do test "it works as expected with noop policy" do
clear_config([:mrf, :policies], [Pleroma.Web.ActivityPub.MRF.NoOpPolicy])
expected = %{ expected = %{
mrf_policies: ["NoOpPolicy"], mrf_policies: ["NoOpPolicy"],
exclusions: false exclusions: false