From 2bf058d5db79cc75f87d9accfeb9773d5bf29686 Mon Sep 17 00:00:00 2001 From: Simponic Date: Sat, 31 Dec 2022 16:36:13 -0700 Subject: [PATCH] Cleanup after some tests in ssh auth --- test/ssh/ssh_auth_test.exs | 3 +++ 1 file changed, 3 insertions(+) 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