1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

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