projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/upstream/develop' into 1335-user-api-id-fields...
[akkoma]
/
test
/
web
/
activity_pub
/
mrf
/
user_allowlist_policy_test.exs
diff --git
a/test/web/activity_pub/mrf/user_allowlist_policy_test.exs
b/test/web/activity_pub/mrf/user_allowlist_policy_test.exs
index 6519e2398119a8bf304e9d4fda47b97833a6675d..72084c0fd0e8e0887e84d4022e68a7fb572b7224 100644
(file)
--- a/
test/web/activity_pub/mrf/user_allowlist_policy_test.exs
+++ b/
test/web/activity_pub/mrf/user_allowlist_policy_test.exs
@@
-7,12
+7,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.UserAllowListPolicyTest do
alias Pleroma.Web.ActivityPub.MRF.UserAllowListPolicy
alias Pleroma.Web.ActivityPub.MRF.UserAllowListPolicy
- setup do
- policy = Pleroma.Config.get([:mrf_user_allowlist]) || []
- on_exit(fn -> Pleroma.Config.put([:mrf_user_allowlist], policy) end)
-
- :ok
- end
+ clear_config([:mrf_user_allowlist, :localhost])
test "pass filter if allow list is empty" do
actor = insert(:user)
test "pass filter if allow list is empty" do
actor = insert(:user)