diff options
| author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-11-10 16:30:21 +0300 |
|---|---|---|
| committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-11-10 16:30:21 +0300 |
| commit | 3db988250bcd279f20bd1742ca454aa187d89368 (patch) | |
| tree | 6ea77632f57f8e35de46c5416374dd86d6bca784 /test/web/mastodon_api/views | |
| parent | 3a1aaadc18372fb8c76fa72cd20ed65dd85b2326 (diff) | |
| download | pleroma-3db988250bcd279f20bd1742ca454aa187d89368.tar.gz pleroma-3db988250bcd279f20bd1742ca454aa187d89368.zip | |
[#1335] User: refactored :blocks field into :blocked_users relation.
Introduced UserBlock.
Diffstat (limited to 'test/web/mastodon_api/views')
| -rw-r--r-- | test/web/mastodon_api/views/account_view_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs index af88841ed..c34bf7ba9 100644 --- a/test/web/mastodon_api/views/account_view_test.exs +++ b/test/web/mastodon_api/views/account_view_test.exs @@ -219,8 +219,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do {:ok, user} = User.follow(user, other_user) {:ok, other_user} = User.subscribe(user, other_user) - {:ok, user} = User.block(user, other_user) - {:ok, other_user} = User.block(other_user, user) + {:ok, _user_block} = User.block(user, other_user) + {:ok, _user_block} = User.block(other_user, user) expected = %{ id: to_string(other_user.id), @@ -291,7 +291,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do other_user = insert(:user) {:ok, other_user} = User.follow(other_user, user) - {:ok, other_user} = User.block(other_user, user) + {:ok, _user_block} = User.block(other_user, user) {:ok, _} = User.follow(insert(:user), user) expected = %{ |
