diff --git a/tests/02-user.test b/tests/02-user.test index 6c1cfaf..3898eef 100755 --- a/tests/02-user.test +++ b/tests/02-user.test @@ -13,6 +13,8 @@ user_create "test2" "ssh-ed25519" users_list_count_must_equal "3" user_create "invalid-ssh" "invalid-ssh" "$INVALID_SSH_KEY_ERROR_MSG" user_create "invalid-ssh" "ssh" "$INVALID_SSH_KEY_ERROR_MSG" +user_create "invalid/user" "ssh-rsa" "$INVALID_USER_NAME_ERROR_MSG" +user_create "invalid=user" "ssh-rsa" "$INVALID_USER_NAME_ERROR_MSG" users_list_count_must_equal "3" user_create "test" "ssh-rsa" "Error! User 'test' already exists" users_list_count_must_equal "3"