aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkaniini <ariadne@dereferenced.org>2019-08-10 18:29:16 +0000
committerkaniini <ariadne@dereferenced.org>2019-08-10 18:29:16 +0000
commit390329a303dd6d6a91d0bafa7dff0f7d63a8dad5 (patch)
tree75d2bc4a55e1469d60bb770288652c962eaa4449 /test
parent337edb3e500dc8d3d74926eb9da739bec8e8a7ac (diff)
parent0802a08871afee7f09362cbca8b802f0e27ff4b9 (diff)
downloadpleroma-390329a303dd6d6a91d0bafa7dff0f7d63a8dad5.tar.gz
Merge branch 'fix/mastoapi-threadmute-detection' into 'develop'
Mastodon API: Fix thread mute detection See merge request pleroma/pleroma!1548
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/mastodon_api_controller_test.exs4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs
index e49c4cc22..b023d1e4f 100644
--- a/test/web/mastodon_api/mastodon_api_controller_test.exs
+++ b/test/web/mastodon_api/mastodon_api_controller_test.exs
@@ -2901,8 +2901,10 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
describe "conversation muting" do
setup do
+ post_user = insert(:user)
user = insert(:user)
- {:ok, activity} = CommonAPI.post(user, %{"status" => "HIE"})
+
+ {:ok, activity} = CommonAPI.post(post_user, %{"status" => "HIE"})
[user: user, activity: activity]
end