fix: validate app name in app-scoped commands
This commit is contained in:
22 files changed
+213
-35
No files matched your search
@@ -194,3 +194,11 @@ teardown() {
|
||||
assert_success
|
||||
assert_output "--label=a=b"
|
||||
}
|
||||
|
||||
@test "(core) cleanup missing app" {
|
||||
run /bin/bash -c "dokku cleanup missing-app"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_failure
|
||||
assert_output_contains "App missing-app does not exist"
|
||||
}
|
||||
Reference in new issue
Block a user