diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-29 19:47:04 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-29 19:47:04 +0400 |
commit | 3aa04b81c4d558dfa8d3c35ab7db6041671ac121 (patch) | |
tree | 258f9ec8244a2dde864a4b0ffe98b648e3f851ff | |
parent | 979f02ec947443835f480d13bd1dbcf521743a71 (diff) | |
download | pleroma-3aa04b81c4d558dfa8d3c35ab7db6041671ac121.tar.gz |
Test default "content-type" for CastAndValidate
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller_test.exs | 1 |
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) |