diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-11-20 15:46:11 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-11-20 15:46:11 +0300 |
commit | de892d2fe1e70054aaf946b4cd11fb39111fe937 (patch) | |
tree | 6e68d638890ef9d6e731f6b3a180c2ae611de61e /test/web/common_api/common_api_test.exs | |
parent | 555edd01abf62b74c14c30caf82d77a80a93e72c (diff) | |
download | pleroma-de892d2fe1e70054aaf946b4cd11fb39111fe937.tar.gz |
[#1335] Reorganized users.subscribers as UserRelationship. Added tests for UserRelationship-related functionality.
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r-- | test/web/common_api/common_api_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index 667ca89b9..b5d6d4055 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -526,7 +526,7 @@ defmodule Pleroma.Web.CommonAPITest do test "also unsubscribes a user" do [follower, followed] = insert_pair(:user) {:ok, follower, followed, _} = CommonAPI.follow(follower, followed) - {:ok, followed} = User.subscribe(follower, followed) + {:ok, _subscription} = User.subscribe(follower, followed) assert User.subscribed_to?(follower, followed) |