summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/status_controller_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-12-11 15:02:53 -0600
committerMark Felder <feld@FreeBSD.org>2019-12-11 15:02:53 -0600
commit9ef912aecfbeef670db0614ec2014321c37f3b7a (patch)
tree69eb0b5e11ca321e1ba8ca794171bf0cb425d16d /test/web/mastodon_api/controllers/status_controller_test.exs
parente21afdb7c76c9773aeb51e37ff3bc2874e7a74f7 (diff)
parent92b4a1aa1bc750bb077ae45c422967f9712e247d (diff)
downloadpleroma-9ef912aecfbeef670db0614ec2014321c37f3b7a.tar.gz
pleroma-9ef912aecfbeef670db0614ec2014321c37f3b7a.zip
Merge branch 'develop' into issue/1411
Diffstat (limited to 'test/web/mastodon_api/controllers/status_controller_test.exs')
-rw-r--r--test/web/mastodon_api/controllers/status_controller_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/controllers/status_controller_test.exs b/test/web/mastodon_api/controllers/status_controller_test.exs
index a96fd860b..5fbe947ba 100644
--- a/test/web/mastodon_api/controllers/status_controller_test.exs
+++ b/test/web/mastodon_api/controllers/status_controller_test.exs
@@ -1108,7 +1108,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
activity: activity
} do
other_user = insert(:user)
- {:ok, user} = User.block(user, other_user)
+ {:ok, _user_relationship} = User.block(user, other_user)
{:ok, _, _} = CommonAPI.favorite(activity.id, other_user)
@@ -1205,7 +1205,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
activity: activity
} do
other_user = insert(:user)
- {:ok, user} = User.block(user, other_user)
+ {:ok, _user_relationship} = User.block(user, other_user)
{:ok, _, _} = CommonAPI.repeat(activity.id, other_user)