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/controllers/account_controller_test.exs | |
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/controllers/account_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/account_controller_test.exs b/test/web/mastodon_api/controllers/account_controller_test.exs index 8fc2d9300..b98d9c8e3 100644 --- a/test/web/mastodon_api/controllers/account_controller_test.exs +++ b/test/web/mastodon_api/controllers/account_controller_test.exs @@ -883,7 +883,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do user = insert(:user) other_user = insert(:user) - {:ok, user} = User.block(user, other_user) + {:ok, _user_block} = User.block(user, other_user) conn = conn |