summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/transmogrifier_test.exs
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-12-12 07:28:47 +0000
committerkaniini <nenolod@gmail.com>2018-12-12 07:28:47 +0000
commit2592b3c81a5af20536c3cc9709e3971d6cfb1e68 (patch)
tree89fba8fe2ed33bb25ef554f67e4659e255f81709 /test/web/activity_pub/transmogrifier_test.exs
parent2999a08e3590c43c623730b0cbf6b93045ac08c1 (diff)
parent89b3729afa130a62a47ed6372350ebfc5acb4064 (diff)
downloadpleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.tar.gz
pleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.zip
Merge branch 'support/issue_442' into 'develop'
[#442] fix warnings See merge request pleroma/pleroma!536
Diffstat (limited to 'test/web/activity_pub/transmogrifier_test.exs')
-rw-r--r--test/web/activity_pub/transmogrifier_test.exs13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs
index fa526a222..0428e052d 100644
--- a/test/web/activity_pub/transmogrifier_test.exs
+++ b/test/web/activity_pub/transmogrifier_test.exs
@@ -982,13 +982,12 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
end
test "users cannot be collided through fake direction spoofing attempts" do
- user =
- insert(:user, %{
- nickname: "rye@niu.moe",
- local: false,
- ap_id: "https://niu.moe/users/rye",
- follower_address: User.ap_followers(%User{nickname: "rye@niu.moe"})
- })
+ insert(:user, %{
+ nickname: "rye@niu.moe",
+ local: false,
+ ap_id: "https://niu.moe/users/rye",
+ follower_address: User.ap_followers(%User{nickname: "rye@niu.moe"})
+ })
{:error, _} = User.get_or_fetch_by_ap_id("https://n1u.moe/users/rye")
end