diff --git a/app/test/support/data_case.ex b/app/test/support/data_case.ex index 065c109..57b0cee 100644 --- a/app/test/support/data_case.ex +++ b/app/test/support/data_case.ex @@ -38,8 +38,8 @@ defmodule Firehose.DataCase do Sets up the sandbox based on the test tags. """ def setup_sandbox(tags) do - pid = Sandbox.start_owner!(Firehose.Repo, shared: not tags[:async]) - on_exit(fn -> Sandbox.stop_owner(pid) end) + pid = Ecto.Adapters.SQL.Sandbox.start_owner!(Firehose.Repo, shared: not tags[:async]) + on_exit(fn -> Ecto.Adapters.SQL.Sandbox.stop_owner(pid) end) end @doc """