fail rest of bats file on first test failure
This commit is contained in:
1 parent
4e4c8cebc4
commit
e23e491967
24 files changed
+66
No files matched your search
@@ -3,6 +3,7 @@
|
||||
load test_helper
|
||||
|
||||
setup() {
|
||||
global_setup
|
||||
[[ -f ${DOKKU_ROOT}/ENV ]] && mv -f ${DOKKU_ROOT}/ENV ${DOKKU_ROOT}/ENV.bak
|
||||
sudo -H -u dokku /bin/bash -c "echo 'export global_test=true' > ${DOKKU_ROOT}/ENV"
|
||||
create_app
|
||||
@@ -14,6 +15,7 @@ teardown() {
|
||||
if [[ -f ${DOKKU_ROOT}/ENV.bak ]];then
|
||||
mv -f ${DOKKU_ROOT}/ENV.bak ${DOKKU_ROOT}/ENV
|
||||
fi
|
||||
global_teardown
|
||||
}
|
||||
|
||||
@test "(config) config:set --global" {
|
||||
|
||||
Reference in new issue
Block a user