fix: correct tests by moving to correct file
This commit is contained in:
1 parent
fa3755454a
commit
5eb95dd6ab
2 files changed
+13
-13
No files matched your search
@@ -53,6 +53,19 @@ teardown () {
|
|||||||
destroy_app
|
destroy_app
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "(apps) app autocreate disabled" {
|
||||||
|
run dokku config:set --no-restart --global DOKKU_DISABLE_APP_AUTOCREATION='true'
|
||||||
|
echo "output: "$output
|
||||||
|
echo "status: "$status
|
||||||
|
assert_success
|
||||||
|
|
||||||
|
run deploy_app
|
||||||
|
echo "output: "$output
|
||||||
|
echo "status: "$status
|
||||||
|
assert_failure
|
||||||
|
run dokku config:unset --no-restart --global DOKKU_DISABLE_APP_AUTOCREATION
|
||||||
|
}
|
||||||
|
|
||||||
@test "(apps) apps:destroy" {
|
@test "(apps) apps:destroy" {
|
||||||
create_app
|
create_app
|
||||||
run bash -c "dokku --force apps:destroy $TEST_APP"
|
run bash -c "dokku --force apps:destroy $TEST_APP"
|
||||||
|
|||||||
@@ -70,16 +70,3 @@ teardown() {
|
|||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_output "herokuish"
|
assert_output "herokuish"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "(build-env) app autocreate disabled" {
|
|
||||||
run dokku config:set --no-restart --global DOKKU_DISABLE_APP_AUTOCREATION='true'
|
|
||||||
echo "output: "$output
|
|
||||||
echo "status: "$status
|
|
||||||
assert_success
|
|
||||||
|
|
||||||
run deploy_app
|
|
||||||
echo "output: "$output
|
|
||||||
echo "status: "$status
|
|
||||||
assert_failure
|
|
||||||
run dokku config:unset --no-restart --global DOKKU_DISABLE_APP_AUTOCREATION
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user