test: fixes for test suite post-cobra migrate

See toolshed/organising#650
This commit is contained in:
2024-12-27 20:44:07 +01:00
parent 8fa20e2c7f
commit 008582c3d9
25 changed files with 12 additions and 575 deletions

View File

@ -24,17 +24,14 @@ teardown(){
@test "validate app argument" {
run $ABRA app restart
assert_failure
assert_output --partial 'no app provided'
run $ABRA app restart DOESNTEXIST
assert_failure
assert_output --partial 'cannot find app'
}
@test "error if service missing" {
run $ABRA app restart "$TEST_APP_DOMAIN"
assert_failure
assert_output --partial 'missing <service>'
}
@test "error if not deployed" {