summaryrefslogtreecommitdiff
path: root/test/auth/pubkey_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/auth/pubkey_test.exs')
-rw-r--r--test/auth/pubkey_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/auth/pubkey_test.exs b/test/auth/pubkey_test.exs
index d8236e3..da2518b 100644
--- a/test/auth/pubkey_test.exs
+++ b/test/auth/pubkey_test.exs
@@ -9,7 +9,8 @@ defmodule Chessh.Auth.PublicKeyAuthenticatorTest do
}
setup_all do
- :ok = Ecto.Adapters.SQL.Sandbox.checkout(Chessh.Repo)
+ Ecto.Adapters.SQL.Sandbox.checkout(Repo)
+ Ecto.Adapters.SQL.Sandbox.mode(Repo, {:shared, self()})
{:ok, player} = Repo.insert(Player.registration_changeset(%Player{}, @valid_user))