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/mastodon_api | |
| parent | 555edd01abf62b74c14c30caf82d77a80a93e72c (diff) | |
| download | pleroma-de892d2fe1e70054aaf946b4cd11fb39111fe937.tar.gz pleroma-de892d2fe1e70054aaf946b4cd11fb39111fe937.zip | |
[#1335] Reorganized users.subscribers as UserRelationship. Added tests for UserRelationship-related functionality.
Diffstat (limited to 'test/web/mastodon_api')
| -rw-r--r-- | test/web/mastodon_api/views/account_view_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs index 4e5da6b06..53cd26a69 100644 --- a/test/web/mastodon_api/views/account_view_test.exs +++ b/test/web/mastodon_api/views/account_view_test.exs @@ -190,7 +190,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do {:ok, user} = User.follow(user, other_user) {:ok, other_user} = User.follow(other_user, user) - {:ok, other_user} = User.subscribe(user, other_user) + {:ok, _subscription} = User.subscribe(user, other_user) {:ok, _user_relationships} = User.mute(user, other_user, true) {:ok, _reblog_mute} = CommonAPI.hide_reblogs(user, other_user) @@ -218,7 +218,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do other_user = insert(:user) {:ok, user} = User.follow(user, other_user) - {:ok, other_user} = User.subscribe(user, other_user) + {:ok, _subscription} = User.subscribe(user, other_user) {:ok, _user_relationship} = User.block(user, other_user) {:ok, _user_relationship} = User.block(other_user, user) |
