Cleanup after some tests in ssh auth

This commit is contained in:
Simponic 2022-12-31 16:36:13 -07:00
parent 52a3ed7c57
commit 2bf058d5db
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -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