diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-07-29 12:58:08 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-07-29 12:58:08 -0500 |
commit | 93638935d783c092dabac51982426ebd98a21e0e (patch) | |
tree | df56a73d603f36cc0b3725c3ed6ebe20a3fa410c /test | |
parent | 2a99e7df8e3c5c5c6cdf15bff56d0258c9a5287e (diff) | |
download | pleroma-93638935d783c092dabac51982426ebd98a21e0e.tar.gz pleroma-93638935d783c092dabac51982426ebd98a21e0e.zip |
SimpleMRF: :silence --> :followers_only
Diffstat (limited to 'test')
-rw-r--r-- | test/web/activity_pub/mrf/simple_policy_test.exs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/web/activity_pub/mrf/simple_policy_test.exs b/test/web/activity_pub/mrf/simple_policy_test.exs index 510a31d80..c0e82731b 100644 --- a/test/web/activity_pub/mrf/simple_policy_test.exs +++ b/test/web/activity_pub/mrf/simple_policy_test.exs @@ -16,7 +16,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicyTest do federated_timeline_removal: [], report_removal: [], reject: [], - silence: [], + followers_only: [], accept: [], avatar_removal: [], banner_removal: [], @@ -263,9 +263,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicyTest do end end - describe "when :silence" do + describe "when :followers_only" do test "is empty" do - Config.put([:mrf_simple, :silence], []) + Config.put([:mrf_simple, :followers_only], []) {_, ftl_message} = build_ftl_actor_and_message() local_message = build_local_message() @@ -296,7 +296,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicyTest do |> URI.parse() |> Map.fetch!(:host) - Config.put([:mrf_simple, :silence], [actor_domain]) + Config.put([:mrf_simple, :followers_only], [actor_domain]) assert {:ok, new_activity} = SimplePolicy.filter(activity) assert actor.follower_address in new_activity["to"] |