diff options
| author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-10-11 02:35:32 +0700 |
|---|---|---|
| committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-10-11 02:35:32 +0700 |
| commit | 059005ff829c0313c62ddf5fbcd95f8892920228 (patch) | |
| tree | 9c33d41fc3efe721f477aef7daa37b05ba812964 /test/web/activity_pub/visibilty_test.exs | |
| parent | 2c7ff32e5b95926af9b6573a6dc6ea96e3ba7dd5 (diff) | |
| download | pleroma-059005ff829c0313c62ddf5fbcd95f8892920228.tar.gz pleroma-059005ff829c0313c62ddf5fbcd95f8892920228.zip | |
Replace `user.following` with Pleroma.FollowingRelationship
Diffstat (limited to 'test/web/activity_pub/visibilty_test.exs')
| -rw-r--r-- | test/web/activity_pub/visibilty_test.exs | 3 |
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, |
