fix: correct tests
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
cmd-list-ssh-keys() {
|
||||
cmd-ssh-keys-list() {
|
||||
declare desc="List ssh key hashes"
|
||||
declare cmd="ssh-keys:list"
|
||||
[[ "$1" == "$cmd" ]] && shift 1
|
||||
|
||||
@@ -16,13 +16,13 @@ teardown() {
|
||||
run /bin/bash -c "dokku buildpacks"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_output_contains "Manages buildpacks settings for an app"
|
||||
assert_output_contains "Manage buildpacks settings for an app"
|
||||
help_output="$output"
|
||||
|
||||
run /bin/bash -c "dokku buildpacks:help"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_output_contains "Manages buildpacks settings for an app"
|
||||
assert_output_contains "Manage buildpacks settings for an app"
|
||||
assert_output "$help_output"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user