diff options
author | feld <feld@feld.me> | 2021-06-07 20:10:20 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2021-06-07 20:10:20 +0000 |
commit | 676c3c96dce8a620c86bca03cc4997b0593d54fb (patch) | |
tree | 2d28815e28953553e6d46a4685ebd1cbdfda9e2a /test | |
parent | 64bc0c69ed6b77283905b04585f03c23cbedbe03 (diff) | |
parent | 6fcfa33e4ec39c66e07ca8187f618b9c6f5c25c3 (diff) | |
download | pleroma-676c3c96dce8a620c86bca03cc4997b0593d54fb.tar.gz |
Merge branch 'cycles-mrf-policy' into 'develop'
Recompilation speedup: create MRF.Policy behaviour separate from MRF module
See merge request pleroma/pleroma!3450
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/modules/good_mrf.ex | 2 | ||||
-rw-r--r-- | test/support/mrf_module_mock.ex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/fixtures/modules/good_mrf.ex b/test/fixtures/modules/good_mrf.ex index 39d0f14ec..5afa1c1d1 100644 --- a/test/fixtures/modules/good_mrf.ex +++ b/test/fixtures/modules/good_mrf.ex @@ -1,5 +1,5 @@ defmodule Fixtures.Modules.GoodMRF do - @behaviour Pleroma.Web.ActivityPub.MRF + @behaviour Pleroma.Web.ActivityPub.MRF.Policy @impl true def filter(a), do: {:ok, a} diff --git a/test/support/mrf_module_mock.ex b/test/support/mrf_module_mock.ex index 4dfdeb3b4..4d21d7fe0 100644 --- a/test/support/mrf_module_mock.ex +++ b/test/support/mrf_module_mock.ex @@ -3,7 +3,7 @@ # 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} |