summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKaren Konou <konoukaren@gmail.com>2019-02-15 13:43:14 +0100
committerKaren Konou <konoukaren@gmail.com>2019-02-15 13:43:14 +0100
commitdca6bee2f7eba1dc366cc65d3087f20678549739 (patch)
tree9ee72e6f9649a2c9a16b3734a084ed44283751c0 /test
parentd943c90249e0a598e57a0dbdf41d387b53916092 (diff)
downloadpleroma-dca6bee2f7eba1dc366cc65d3087f20678549739.tar.gz
pleroma-dca6bee2f7eba1dc366cc65d3087f20678549739.zip
Rename test, add check for follower collection when delisting
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/mrf/hellthread_policy_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/mrf/hellthread_policy_test.exs b/test/web/activity_pub/mrf/hellthread_policy_test.exs
index b5bdd35cc..ebf9997cd 100644
--- a/test/web/activity_pub/mrf/hellthread_policy_test.exs
+++ b/test/web/activity_pub/mrf/hellthread_policy_test.exs
@@ -41,7 +41,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicyTest do
assert "https://www.w3.org/ns/activitystreams#Public" in message["cc"]
end
- test "threshold test", %{message: message} do
+ test "excludes follower collection and public URI from threshold count", %{message: message} do
Pleroma.Config.put([:mrf_hellthread], %{delist_threshold: 0, reject_threshold: 3})
{:ok, _} = filter(message)