Remove unwanted parameter

This commit is contained in:
Mark Felder 2023-05-29 15:05:37 -04:00
parent 84974efe4c
commit 43bb2f39db
1 changed files with 1 additions and 2 deletions

View File

@ -123,7 +123,6 @@ defp json_response_and_validate_schema(conn, _status) do
{:ok, {:ok,
conn: conn:
Phoenix.ConnTest.build_conn() Phoenix.ConnTest.build_conn()
|> Map.put(:host, Pleroma.Web.Endpoint.host()) |> Map.put(:host, Pleroma.Web.Endpoint.host())}
|> Plug.Test.init_test_session(%{})}
end end
end end