Setup swoosh sandbox

This commit is contained in:
Claudio Ortolina
2026-04-02 15:26:15 +01:00
parent 2396321e26
commit 851bbd54af
4 changed files with 14 additions and 3 deletions
+1
View File
@@ -1,3 +1,4 @@
{:ok, _} = Swoosh.Adapters.Sandbox.Storage.start_link([])
ExUnit.start()
Ecto.Adapters.SQL.Sandbox.mode(MusicLibrary.Repo, :manual)
Ecto.Adapters.SQL.Sandbox.mode(MusicLibrary.BackgroundRepo, :manual)