Merge branch 'feature/1584-client-captcha-options' into 'develop'
[akkoma] / test / web / mastodon_api / controllers / account_controller_test.exs
index f770232df20203d8988753d261890e746ce05aa1..61c2697b2d15f8fa2286518cfd217443670130c4 100644 (file)
@@ -794,7 +794,9 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
 
     test "Account registration via Application", %{conn: conn} do
       conn =
-        post(conn, "/api/v1/apps", %{
+        conn
+        |> put_req_header("content-type", "application/json")
+        |> post("/api/v1/apps", %{
           client_name: "client_name",
           redirect_uris: "urn:ietf:wg:oauth:2.0:oob",
           scopes: "read, write, follow"