Skip to content

Commit

Permalink
satisfy credo
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Sep 11, 2024
1 parent cf84359 commit c2aed56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/adapters/ecto/postgres/test_helper.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion test/adapters/ecto/sqlite/test_helper.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c2aed56

Please sign in to comment.