projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request 'Add YunoHost to installation guides' (#518) from ilja/akkoma...
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
transmogrifier
/
follow_handling_test.exs
diff --git
a/test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs
b/test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs
index 985c26def012b343173d2aab43ccafd935debad7..604444a4c4f6a63cbe0d95d4af263d487ed3777b 100644
(file)
--- a/
test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs
+++ b/
test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.Transmogrifier.FollowHandlingTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.Transmogrifier.FollowHandlingTest do
@@
-133,7
+133,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.FollowHandlingTest do
end
test "it rejects incoming follow requests from blocked users when deny_follow_blocked is enabled" do
end
test "it rejects incoming follow requests from blocked users when deny_follow_blocked is enabled" do
-
Pleroma.Config.put
([:user, :deny_follow_blocked], true)
+
clear_config
([:user, :deny_follow_blocked], true)
user = insert(:user)
{:ok, target} = User.get_or_fetch("http://mastodon.example.org/users/admin")
user = insert(:user)
{:ok, target} = User.get_or_fetch("http://mastodon.example.org/users/admin")