summaryrefslogtreecommitdiff
path: root/test/support/conn_case.ex
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2023-06-07 09:19:22 -0400
committerMark Felder <feld@feld.me>2023-06-07 09:19:22 -0400
commitfadcd7f1a9e41ec9b54f251cf782688bf3d36889 (patch)
tree39ac8410fcfda00a0ea97fbff0763e10255cc5e5 /test/support/conn_case.ex
parent43458cb7a144f984d2d745e50b8a992c7482265c (diff)
downloadpleroma-fadcd7f1a9e41ec9b54f251cf782688bf3d36889.tar.gz
pleroma-fadcd7f1a9e41ec9b54f251cf782688bf3d36889.zip
Revert MediaProxy Host header validation
Something is going wrong here even though the tests are correct.
Diffstat (limited to 'test/support/conn_case.ex')
-rw-r--r--test/support/conn_case.ex5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/support/conn_case.ex b/test/support/conn_case.ex
index c1cb0295b..f010fec33 100644
--- a/test/support/conn_case.ex
+++ b/test/support/conn_case.ex
@@ -120,9 +120,6 @@ defmodule Pleroma.Web.ConnCase do
Mox.verify_on_exit!()
- {:ok,
- conn:
- Phoenix.ConnTest.build_conn()
- |> Map.put(:host, Pleroma.Web.Endpoint.host())}
+ {:ok, conn: Phoenix.ConnTest.build_conn()}
end
end