From: Egor Kislitsyn Date: Mon, 29 Jun 2020 15:47:04 +0000 (+0400) Subject: Test default "content-type" for CastAndValidate X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3aa04b81c4d558dfa8d3c35ab7db6041671ac121;p=akkoma Test default "content-type" for CastAndValidate --- 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)