Add test for friendica featured collection
[akkoma] / test / support / mrf_module_mock.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule MRFModuleMock do
6 @behaviour Pleroma.Web.ActivityPub.MRF.Policy
7
8 @impl true
9 def filter(message), do: {:ok, message}
10
11 @impl true
12 def describe, do: {:ok, %{mrf_module_mock: "some config data"}}
13 end