projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'exclude-reblogs-from-admin-api-by-default' into 'develop'
[akkoma]
/
test
/
web
/
activity_pub
/
mrf
/
mention_policy_test.exs
diff --git
a/test/web/activity_pub/mrf/mention_policy_test.exs
b/test/web/activity_pub/mrf/mention_policy_test.exs
index 9fd9c31df8e938a5309f64ea0e3390633b3ff22a..08f7be542f99315e8f1bf3a72d4eeb429300bb91 100644
(file)
--- a/
test/web/activity_pub/mrf/mention_policy_test.exs
+++ b/
test/web/activity_pub/mrf/mention_policy_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
@@
-7,6
+7,8
@@
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
alias Pleroma.Web.ActivityPub.MRF.MentionPolicy
alias Pleroma.Web.ActivityPub.MRF.MentionPolicy
+ clear_config(:mrf_mention)
+
test "pass filter if allow list is empty" do
Pleroma.Config.delete([:mrf_mention])
test "pass filter if allow list is empty" do
Pleroma.Config.delete([:mrf_mention])