diff --git a/test/adapters/ecto/postgres/test_helper.exs b/test/adapters/ecto/postgres/test_helper.exs index 4976711..d0d4f5e 100644 --- a/test/adapters/ecto/postgres/test_helper.exs +++ b/test/adapters/ecto/postgres/test_helper.exs @@ -17,9 +17,10 @@ end defmodule Flop.Integration.Case do use ExUnit.CaseTemplate + alias Ecto.Adapters.SQL.Sandbox setup do - :ok = Ecto.Adapters.SQL.Sandbox.checkout(Flop.Repo) + :ok = Sandbox.checkout(Flop.Repo) end end diff --git a/test/adapters/ecto/sqlite/test_helper.exs b/test/adapters/ecto/sqlite/test_helper.exs index 8a34bdb..b17ca21 100644 --- a/test/adapters/ecto/sqlite/test_helper.exs +++ b/test/adapters/ecto/sqlite/test_helper.exs @@ -15,9 +15,10 @@ end defmodule Flop.Integration.Case do use ExUnit.CaseTemplate + alias Ecto.Adapters.SQL.Sandbox setup do - :ok = Ecto.Adapters.SQL.Sandbox.checkout(Flop.Repo) + :ok = Sandbox.checkout(Flop.Repo) end end