summaryrefslogtreecommitdiff
path: root/test/auth/password_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/auth/password_test.exs')
-rw-r--r--test/auth/password_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/auth/password_test.exs b/test/auth/password_test.exs
index 5e1b1d8..8c93ea9 100644
--- a/test/auth/password_test.exs
+++ b/test/auth/password_test.exs
@@ -5,7 +5,8 @@ defmodule Chessh.Auth.PasswordAuthenticatorTest do
@valid_user %{username: "logan", password: "password"}
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, _user} = Repo.insert(Player.registration_changeset(%Player{}, @valid_user))