From 4048859779733261b1c7405cbb889c962eb25cbb Mon Sep 17 00:00:00 2001 From: RJ Padilla Date: Wed, 17 Mar 2021 22:34:56 -0400 Subject: [PATCH] update `tests/password.bats` (fixes #2103) (#2106) Co-authored-by: dogi --- package.json | 2 +- tests/password.bats | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cbffdf6f9..103c710f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.25.29", + "version": "1.25.30", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh", diff --git a/tests/password.bats b/tests/password.bats index 496a67ef6..d71f44c9b 100755 --- a/tests/password.bats +++ b/tests/password.bats @@ -1,7 +1,17 @@ #!/usr/bin/env bats load test-helper -@test "$clinom password raspberry" { +@test "$clinom password change raspberry" { run "${clicmd}" password change raspberry assert_success } + +@test "$clinom password disable" { + run "${clicmd}" password disable + assert_success +} + +@test "$clinom password enable" { + run "${clicmd}" password enable + assert_success +} \ No newline at end of file