diff options
| author | Mark Felder <feld@FreeBSD.org> | 2020-07-15 13:34:27 -0500 |
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2020-07-15 13:34:27 -0500 |
| commit | b2d398b1d04cd2c258e830e3bb5c49c8b294d139 (patch) | |
| tree | c9cd8e48813bdab768f216b4fb06528f6869d626 /test/web/activity_pub/mrf/hellthread_policy_test.exs | |
| parent | 7115c5f82efe1ca1817da3152ba3cbc66e0da1a4 (diff) | |
| parent | 00f9b53f07346d052adab105bde3428c98fc4660 (diff) | |
| download | pleroma-b2d398b1d04cd2c258e830e3bb5c49c8b294d139.tar.gz pleroma-b2d398b1d04cd2c258e830e3bb5c49c8b294d139.zip | |
Merge branch 'develop' into refactor/gun-pool-registry
Diffstat (limited to 'test/web/activity_pub/mrf/hellthread_policy_test.exs')
| -rw-r--r-- | test/web/activity_pub/mrf/hellthread_policy_test.exs | 3 |
1 files changed, 2 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 6e9daa7f9..26f5bcdaa 100644 --- a/test/web/activity_pub/mrf/hellthread_policy_test.exs +++ b/test/web/activity_pub/mrf/hellthread_policy_test.exs @@ -50,7 +50,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicyTest do } do Pleroma.Config.put([:mrf_hellthread], %{delist_threshold: 0, reject_threshold: 2}) - {:reject, nil} = filter(message) + assert {:reject, "[HellthreadPolicy] 3 recipients is over the limit of 2"} == + filter(message) end test "does not reject the message if the recipient count is below reject_threshold", %{ |
