Fix postgres errors when running tests
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aaea6a01e2
commit
dfff2486b5
7 changed files with 242 additions and 242 deletions
|
|
@ -39,6 +39,11 @@ defmodule MvWeb.Endpoint do
|
|||
plug Phoenix.Ecto.CheckRepoStatus, otp_app: :mv
|
||||
end
|
||||
|
||||
# Enable Ecto SQL Sandbox in test environment for async tests
|
||||
if Application.compile_env(:mv, :sql_sandbox) do
|
||||
plug Phoenix.Ecto.SQL.Sandbox
|
||||
end
|
||||
|
||||
plug Phoenix.LiveDashboard.RequestLogger,
|
||||
param_key: "request_logger",
|
||||
cookie_key: "request_logger"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue