summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/mrf/hellthread_policy_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-02-20 11:36:48 +0000
committerlain <lain@soykaf.club>2020-02-20 11:36:48 +0000
commitcf4ecffcea84d9b214f922a973d50c699317a202 (patch)
tree27eeb915193738f167db55119afb5a5ebafa9b6b /test/web/activity_pub/mrf/hellthread_policy_test.exs
parent3b78695c9828bc49a5c7706437af5f24fc4475de (diff)
parent226f4d5ef93805e2ff93f00d443238ab7afeb3e6 (diff)
downloadpleroma-cf4ecffcea84d9b214f922a973d50c699317a202.tar.gz
pleroma-cf4ecffcea84d9b214f922a973d50c699317a202.zip
Merge branch 'tests-clear-config-tweaks' into 'develop'
Tweaks to `clear_config` calls in tests See merge request pleroma/pleroma!2209
Diffstat (limited to 'test/web/activity_pub/mrf/hellthread_policy_test.exs')
-rw-r--r--test/web/activity_pub/mrf/hellthread_policy_test.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/activity_pub/mrf/hellthread_policy_test.exs b/test/web/activity_pub/mrf/hellthread_policy_test.exs
index eb6ee4d04..a78752a12 100644
--- a/test/web/activity_pub/mrf/hellthread_policy_test.exs
+++ b/test/web/activity_pub/mrf/hellthread_policy_test.exs
@@ -26,6 +26,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicyTest do
[user: user, message: message]
end
+ clear_config(:mrf_hellthread)
+
describe "reject" do
test "rejects the message if the recipient count is above reject_threshold", %{
message: message