diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-11-19 23:22:10 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-11-19 23:22:10 +0300 |
commit | ba5cc3016514080b4bf7eaefd3e25936c0e222ba (patch) | |
tree | 799e826ee738487fcf758fd966cff263f8b491db /test/web/mastodon_api/controllers/account_controller_test.exs | |
parent | 3aaf3aa2c24c6b38d7e49e4861c1294c285db49b (diff) | |
download | pleroma-ba5cc3016514080b4bf7eaefd3e25936c0e222ba.tar.gz pleroma-ba5cc3016514080b4bf7eaefd3e25936c0e222ba.zip |
[#1335] Implemented notification mutes and reblog mutes as UserRelationships. User to UserRelationship relations and functions refactoring.
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/controllers/account_controller_test.exs b/test/web/mastodon_api/controllers/account_controller_test.exs index c5ef96bb7..9ff008a50 100644 --- a/test/web/mastodon_api/controllers/account_controller_test.exs +++ b/test/web/mastodon_api/controllers/account_controller_test.exs @@ -868,7 +868,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do user = insert(:user) other_user = insert(:user) - {:ok, _user_mute} = User.mute(user, other_user) + {:ok, _user_relationships} = User.mute(user, other_user) conn = conn @@ -883,7 +883,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do user = insert(:user) other_user = insert(:user) - {:ok, _user_block} = User.block(user, other_user) + {:ok, _user_relationship} = User.block(user, other_user) conn = conn |