fix tests
This commit is contained in:
parent
d6d0ce7260
commit
90e390e45b
1 changed files with 4 additions and 1 deletions
|
|
@ -119,7 +119,10 @@ defmodule Pleroma.Web.ConnCase do
|
|||
DataCase.stub_pipeline()
|
||||
|
||||
Mox.verify_on_exit!()
|
||||
endpoint = URI.parse(Pleroma.Web.Endpoint.url())
|
||||
conn = Phoenix.ConnTest.build_conn()
|
||||
conn = %{conn | req_headers: [{"host", "#{endpoint.host}:#{endpoint.port}"}]}
|
||||
|
||||
{:ok, conn: Phoenix.ConnTest.build_conn()}
|
||||
{:ok, conn: conn}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue