summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/timeline_controller_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-11-10 16:30:21 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-11-10 16:30:21 +0300
commit3db988250bcd279f20bd1742ca454aa187d89368 (patch)
tree6ea77632f57f8e35de46c5416374dd86d6bca784 /test/web/mastodon_api/controllers/timeline_controller_test.exs
parent3a1aaadc18372fb8c76fa72cd20ed65dd85b2326 (diff)
downloadpleroma-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/timeline_controller_test.exs')
-rw-r--r--test/web/mastodon_api/controllers/timeline_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/timeline_controller_test.exs b/test/web/mastodon_api/controllers/timeline_controller_test.exs
index 61b6cea75..524529d1f 100644
--- a/test/web/mastodon_api/controllers/timeline_controller_test.exs
+++ b/test/web/mastodon_api/controllers/timeline_controller_test.exs
@@ -194,7 +194,7 @@ defmodule Pleroma.Web.MastodonAPI.TimelineControllerTest do
blocker = insert(:user)
blocked = insert(:user)
user = insert(:user)
- {:ok, blocker} = User.block(blocker, blocked)
+ {:ok, _user_block} = User.block(blocker, blocked)
{:ok, _blocked_direct} =
CommonAPI.post(blocked, %{