diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-12-31 16:36:13 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-12-31 16:36:13 -0700 |
commit | 2bf058d5db79cc75f87d9accfeb9773d5bf29686 (patch) | |
tree | f5e3c015df703d2035dfae6ac280a219815d48b7 /test | |
parent | 52a3ed7c5700fa398efb8a4aff9d586a850e3d58 (diff) | |
download | chessh-2bf058d5db79cc75f87d9accfeb9773d5bf29686.tar.gz chessh-2bf058d5db79cc75f87d9accfeb9773d5bf29686.zip |
Cleanup after some tests in ssh auth
Diffstat (limited to 'test')
-rw-r--r-- | test/ssh/ssh_auth_test.exs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ssh/ssh_auth_test.exs b/test/ssh/ssh_auth_test.exs index 03063ed..38777e8 100644 --- a/test/ssh/ssh_auth_test.exs +++ b/test/ssh/ssh_auth_test.exs @@ -65,6 +65,8 @@ defmodule Chessh.SSH.AuthTest do ) end ) + + cleanup() end test "Player authentications are increased after a successful authentication" do @@ -79,6 +81,7 @@ defmodule Chessh.SSH.AuthTest do player_after = Repo.get_by(Player, username: @valid_user.username) assert(player_after.authentications - player_before.authentications == 1) + cleanup() end test "INTEGRATION - Can ssh into daemon with password or public key" do |