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
1 changed files with 7 additions and 7 deletions

View File

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