Remove useless header on the get request
authorMark Felder <feld@feld.me>
Tue, 2 Mar 2021 20:04:50 +0000 (14:04 -0600)
committerMark Felder <feld@feld.me>
Tue, 2 Mar 2021 20:04:50 +0000 (14:04 -0600)
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs

index 39ab90ba6689bc17bb03e2498a81e614522aa79e..f616f405e39d4a029defa8f6de4ec7e06ba9557c 100644 (file)
@@ -384,7 +384,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
 
       result =
         conn
-        |> put_req_header("content-type", "application/json")
         |> get("api/v1/statuses/#{activity}")
 
       assert %{
@@ -414,7 +413,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
 
       result =
         conn
-        |> put_req_header("content-type", "application/json")
         |> get("api/v1/statuses/#{activity}")
 
       assert %{