summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/account_controller_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-29 15:59:40 +0000
committerlain <lain@soykaf.club>2020-06-29 15:59:40 +0000
commitb2b332984c42d4be8f5d4890e53faa09c44a4fb2 (patch)
tree936ebab208a537aeda296fbcfb5bf07dfdbbdda2 /test/web/mastodon_api/controllers/account_controller_test.exs
parent344a9b28b31960ed13987da3d806881f1179000b (diff)
parent3aa04b81c4d558dfa8d3c35ab7db6041671ac121 (diff)
downloadpleroma-b2b332984c42d4be8f5d4890e53faa09c44a4fb2.tar.gz
pleroma-b2b332984c42d4be8f5d4890e53faa09c44a4fb2.zip
Merge branch 'fix/cast-and-validate' into 'develop'
Fix CastAndValidate plug Closes #1889 See merge request pleroma/pleroma!2704
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller_test.exs')
-rw-r--r--test/web/mastodon_api/controllers/account_controller_test.exs1
1 files changed, 0 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 ebfcedd01..260ad2306 100644
--- a/test/web/mastodon_api/controllers/account_controller_test.exs
+++ b/test/web/mastodon_api/controllers/account_controller_test.exs
@@ -780,7 +780,6 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
assert %{"id" => _id, "muting" => true, "muting_notifications" => true} =
conn
- |> put_req_header("content-type", "application/json")
|> post("/api/v1/accounts/#{other_user.id}/mute")
|> json_response_and_validate_schema(200)