Disable support for e2e tests for now

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-09-10 11:34:26 +02:00
parent 28a2efc6eb
commit e9fecc4d24
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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,