projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into global-status-expiration
[akkoma]
/
test
/
web
/
activity_pub
/
mrf
/
hellthread_policy_test.exs
diff --git
a/test/web/activity_pub/mrf/hellthread_policy_test.exs
b/test/web/activity_pub/mrf/hellthread_policy_test.exs
index eb6ee4d04a1c5da14f375ca07fb71c142161e969..916b95692f64d676558a1bbbdbb2cb1a156bfde3 100644
(file)
--- a/
test/web/activity_pub/mrf/hellthread_policy_test.exs
+++ b/
test/web/activity_pub/mrf/hellthread_policy_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 201
9
Pleroma Authors <https://pleroma.social/>
+# Copyright © 201
7-2020
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicyTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicyTest do
@@
-26,6
+26,8
@@
defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicyTest do
[user: user, message: message]
end
[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
describe "reject" do
test "rejects the message if the recipient count is above reject_threshold", %{
message: message