X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fsupport%2Fmrf_module_mock.ex;h=4d21d7fe03d011a059d1c69bd6e4b663cd0e106c;hb=85d71d4f1d433a168eb136ad88b651b6c1d1a4fc;hp=573eb0147d7f28ec8bc6242b070d7da07fdd9ebf;hpb=dd0b71ea6d0b758ee5425f295a8ee14f33c4ec07;p=akkoma
diff --git a/test/support/mrf_module_mock.ex b/test/support/mrf_module_mock.ex
index 573eb0147..4d21d7fe0 100644
--- a/test/support/mrf_module_mock.ex
+++ b/test/support/mrf_module_mock.ex
@@ -1,13 +1,13 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors
+# Copyright © 2017-2021 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule MRFModuleMock do
- @behaviour Pleroma.Web.ActivityPub.MRF
+ @behaviour Pleroma.Web.ActivityPub.MRF.Policy
@impl true
def filter(message), do: {:ok, message}
@impl true
- def describe(), do: {:ok, %{mrf_module_mock: "some config data"}}
+ def describe, do: {:ok, %{mrf_module_mock: "some config data"}}
end