Test default "content-type" for CastAndValidate

This commit is contained in:
Egor Kislitsyn 2020-06-29 19:47:04 +04:00
parent 979f02ec94
commit 3aa04b81c4
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -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)