diff options
| author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-11-11 19:53:40 +0400 |
|---|---|---|
| committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-11-11 19:53:40 +0400 |
| commit | 08cbd655d14c74ced77e7af2c0acecf554e0ed91 (patch) | |
| tree | 4ffb3f3fa62e046e299df0378a56fb52a5b042cb /test/fixtures | |
| parent | e46c95b826c3fb98efa15cf6fd5d6cf2fb9797af (diff) | |
| parent | 3cd7ea693fa820c04257b893725100eccf1cc96c (diff) | |
| download | pleroma-08cbd655d14c74ced77e7af2c0acecf554e0ed91.tar.gz pleroma-08cbd655d14c74ced77e7af2c0acecf554e0ed91.zip | |
Merge branch 'develop' into frontend-admin-api
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/modules/good_mrf.ex | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/fixtures/modules/good_mrf.ex b/test/fixtures/modules/good_mrf.ex new file mode 100644 index 000000000..39d0f14ec --- /dev/null +++ b/test/fixtures/modules/good_mrf.ex @@ -0,0 +1,19 @@ +defmodule Fixtures.Modules.GoodMRF do + @behaviour Pleroma.Web.ActivityPub.MRF + + @impl true + def filter(a), do: {:ok, a} + + @impl true + def describe, do: %{} + + @impl true + def config_description do + %{ + key: :good_mrf, + related_policy: "Fixtures.Modules.GoodMRF", + label: "Good MRF", + description: "Some description" + } + end +end |
