forked from potsda.mn/mobilizon
Disable support for e2e tests for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
28a2efc6eb
commit
e9fecc4d24
|
@ -19,13 +19,13 @@ defmodule Mobilizon.Web.Endpoint do
|
||||||
end
|
end
|
||||||
|
|
||||||
# For e2e tests
|
# For e2e tests
|
||||||
if Application.get_env(:mobilizon, :sql_sandbox) do
|
# if Application.get_env(:mobilizon, :sql_sandbox) do
|
||||||
plug(Phoenix.Ecto.SQL.Sandbox,
|
# plug(Phoenix.Ecto.SQL.Sandbox,
|
||||||
at: "/sandbox",
|
# at: "/sandbox",
|
||||||
header: "x-session-id",
|
# header: "x-session-id",
|
||||||
repo: Mobilizon.Storage.Repo
|
# repo: Mobilizon.Storage.Repo
|
||||||
)
|
# )
|
||||||
end
|
# end
|
||||||
|
|
||||||
socket("/graphql_socket", Mobilizon.Web.GraphQLSocket,
|
socket("/graphql_socket", Mobilizon.Web.GraphQLSocket,
|
||||||
websocket: true,
|
websocket: true,
|
||||||
|
|
Loading…
Reference in a new issue