It looks like the project is already doing that. The test file starts with
defmodule Project.Module do
use Project.ModelCase
And in model_case.ex we’ve got
setup tags do
:ok = Ecto.Adapters.SQL.Sandbox.checkout(Project.Repo)
unless tags[:async] do
Ecto.Adapters.SQL.Sandbox.mode(Project.Repo, {:shared, self()})
end
:ok
end
So since :async isn’t included in the use line I believe that means we’re using shared mode, so any process should be able to connect to the DB connection.






















