diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-12-29 17:49:42 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-12-29 18:04:38 -0700 |
commit | 0aab3c2027d54fc1ba834ab73fd53328952b7a1b (patch) | |
tree | 4df45d7fc9df4668f5a6bd8d49895d12fafd7448 /test/auth/pubkey_test.exs | |
parent | 1a2bdccf124de6207899f59538cc0ed2efc97b5a (diff) | |
download | chessh-0aab3c2027d54fc1ba834ab73fd53328952b7a1b.tar.gz chessh-0aab3c2027d54fc1ba834ab73fd53328952b7a1b.zip |
Make tests pass, rename jail threshold
Diffstat (limited to 'test/auth/pubkey_test.exs')
-rw-r--r-- | test/auth/pubkey_test.exs | 3 |
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)) |