diff options
| author | Alex Gleason <alex@alexgleason.me> | 2020-11-14 19:48:47 -0600 |
|---|---|---|
| committer | Alex Gleason <alex@alexgleason.me> | 2020-11-14 19:48:47 -0600 |
| commit | 9546c1444c2c8c4abc9bcb35b6a8ff360ddc83af (patch) | |
| tree | cc6b9add45f34878b1ce053b6a408e059768fa6a /test/fixtures/modules | |
| parent | dc38dc847207e4724265fbeb111d0a236b75f93f (diff) | |
| parent | 28da36975dc325bb577ee81fb791fbdc7ec3e7e2 (diff) | |
| download | pleroma-9546c1444c2c8c4abc9bcb35b6a8ff360ddc83af.tar.gz pleroma-9546c1444c2c8c4abc9bcb35b6a8ff360ddc83af.zip | |
Merge remote-tracking branch 'upstream/develop' into registration-workflow
Diffstat (limited to 'test/fixtures/modules')
| -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 |
