summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/visibilty_test.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-10-29 22:23:19 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-10-29 22:23:19 +0300
commitb27a92e8faacb25540f08e32f68f37555a889aff (patch)
treee496b859774953b644008bd7d831b65d25bc7617 /test/web/activity_pub/visibilty_test.exs
parent922e3d082c38ccd108710e21d4bda8e65b551f9c (diff)
parenteba8acff094cd63088f74424f14c9d807bb8e862 (diff)
downloadpleroma-b27a92e8faacb25540f08e32f68f37555a889aff.tar.gz
pleroma-b27a92e8faacb25540f08e32f68f37555a889aff.zip
Merge branch 'develop' into issue/1276
Diffstat (limited to 'test/web/activity_pub/visibilty_test.exs')
-rw-r--r--test/web/activity_pub/visibilty_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/activity_pub/visibilty_test.exs b/test/web/activity_pub/visibilty_test.exs
index b62a89e68..4c2e0d207 100644
--- a/test/web/activity_pub/visibilty_test.exs
+++ b/test/web/activity_pub/visibilty_test.exs
@@ -212,7 +212,8 @@ defmodule Pleroma.Web.ActivityPub.VisibilityTest do
test "returns true if user following to author" do
author = insert(:user)
- user = insert(:user, following: [author.ap_id])
+ user = insert(:user)
+ Pleroma.User.follow(user, author)
activity =
insert(:note_activity,