feat: add a test to prove that tls breaks app renames

This commit is contained in:
Jose Diaz-Gonzalez
2018-07-28 00:19:13 -04:00
parent e8265ac642
commit df834f41f3
4 changed files with 20 additions and 13 deletions

View File

@@ -113,6 +113,19 @@ teardown () {
assert_success
}
@test "(apps) apps:rename with tls" {
setup_test_tls
deploy_app
run bash -c "dokku apps:rename $TEST_APP great-test-name"
echo "output: "$output
echo "status: "$status
assert_success
run bash -c "dokku --force apps:destroy great-test-name"
echo "output: "$output
echo "status: "$status
assert_success
}
@test "(apps) apps:clone" {
deploy_app
run bash -c "dokku apps:clone $TEST_APP great-test-name"
@@ -213,4 +226,4 @@ teardown () {
assert_output "false"
destroy_app
}
}