tests: use assert_output_not_exists instead of asserting output is empty string

This commit is contained in:
Jose Diaz-Gonzalez
2023-07-31 12:31:31 -04:00
parent 1467aaea74
commit d6468f4713
9 changed files with 24 additions and 24 deletions

View File

@@ -141,7 +141,7 @@ teardown() {
echo "output: $output"
echo "status: $status"
assert_success
assert_output ""
assert_output_not_exists
run /bin/bash -c "dokku storage:mount $TEST_APP /tmp/mount:/mount"
echo "output: $output"
@@ -158,7 +158,7 @@ teardown() {
echo "output: $output"
echo "status: $status"
assert_success
assert_output ""
assert_output_not_exists
run /bin/bash -c "dokku storage:list $TEST_APP --format json | jq -r '. | length'"
echo "output: $output"