fix: correct tests
This commit is contained in:
1 parent
e67b96780d
commit
7a1537e38e
2 files changed
+3
-3
No files matched your search
@@ -2,7 +2,7 @@
|
|||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
[[ $DOKKU_TRACE ]] && set -x
|
[[ $DOKKU_TRACE ]] && set -x
|
||||||
|
|
||||||
cmd-list-ssh-keys() {
|
cmd-ssh-keys-list() {
|
||||||
declare desc="List ssh key hashes"
|
declare desc="List ssh key hashes"
|
||||||
declare cmd="ssh-keys:list"
|
declare cmd="ssh-keys:list"
|
||||||
[[ "$1" == "$cmd" ]] && shift 1
|
[[ "$1" == "$cmd" ]] && shift 1
|
||||||
|
|||||||
@@ -16,13 +16,13 @@ teardown() {
|
|||||||
run /bin/bash -c "dokku buildpacks"
|
run /bin/bash -c "dokku buildpacks"
|
||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_output_contains "Manages buildpacks settings for an app"
|
assert_output_contains "Manage buildpacks settings for an app"
|
||||||
help_output="$output"
|
help_output="$output"
|
||||||
|
|
||||||
run /bin/bash -c "dokku buildpacks:help"
|
run /bin/bash -c "dokku buildpacks:help"
|
||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
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"
|
assert_output "$help_output"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user