fix: correct issues in upgrade and fix tests

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-11 14:16:47 -04:00
parent 5e3aa18765
commit 3fc6322b02
4 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ teardown() {
check_value="Deploy options: --restart=on-failure:10"
fi
options=$(dokku $report_action my_app | xargs)
options=$(dokku --quiet $report_action my_app | xargs)
assert_equal "$options" "$check_value"
}

1
tests/test_helper.bash Normal file → Executable file
View File

@@ -1,5 +1,4 @@
#!/usr/bin/env bash
export DOKKU_QUIET_OUTPUT=1
export DOKKU_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku"
export DOKKU_VERSION=${DOKKU_VERSION:-"master"}
export PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/bin:$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku:$PATH"