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
|
||||
|
||||
# For e2e tests
|
||||
if Application.get_env(:mobilizon, :sql_sandbox) do
|
||||
plug(Phoenix.Ecto.SQL.Sandbox,
|
||||
at: "/sandbox",
|
||||
header: "x-session-id",
|
||||
repo: Mobilizon.Storage.Repo
|
||||
)
|
||||
end
|
||||
# if Application.get_env(:mobilizon, :sql_sandbox) do
|
||||
# plug(Phoenix.Ecto.SQL.Sandbox,
|
||||
# at: "/sandbox",
|
||||
# header: "x-session-id",
|
||||
# repo: Mobilizon.Storage.Repo
|
||||
# )
|
||||
# end
|
||||
|
||||
socket("/graphql_socket", Mobilizon.Web.GraphQLSocket,
|
||||
websocket: true,
|
||||
|
|
Loading…
Reference in a new issue