tests: make it possible to specify an alternative base domain for tests
When developing Dokku, it is useful to use a real domain to test actual functionality. This is impossible if the domain is hardcoded to dokku.me in testing.
This commit is contained in:
1 parent
7f7a044a07
commit
5846301a48
43 files changed
+278
-272
No files matched your search
@@ -110,8 +110,8 @@ teardown() {
|
||||
for URL in $URLS; do
|
||||
assert_http_success $URL
|
||||
done
|
||||
assert_http_success "http://$TEST_APP.dokku.me:8080"
|
||||
assert_http_success "http://$TEST_APP.dokku.me:8081"
|
||||
assert_http_success "http://$TEST_APP.${DOKKU_DOMAIN}:8080"
|
||||
assert_http_success "http://$TEST_APP.${DOKKU_DOMAIN}:8081"
|
||||
}
|
||||
|
||||
@test "(ports:report) herokuish tls" {
|
||||
@@ -152,7 +152,7 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "(ports:report) dockerfile tls" {
|
||||
run deploy_app python dokku@dokku.me:$TEST_APP move_expose_dockerfile_into_place
|
||||
run deploy_app python dokku@$DOKKU_DOMAIN:$TEST_APP move_expose_dockerfile_into_place
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
|
||||
Reference in new issue
Block a user