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:
Jose Diaz-Gonzalez
2023-08-05 16:32:58 -04:00
parent 7f7a044a07
commit 5846301a48
43 changed files with 278 additions and 272 deletions

View File

@@ -425,7 +425,7 @@ teardown() {
fi
driver="$(jq -r '."log-driver"' /etc/docker/daemon.json)"
local TMP_FILE=$(mktemp "/tmp/dokku.me.XXXX")
local TMP_FILE=$(mktemp "/tmp/${DOKKU_DOMAIN}.XXXX")
run create_app
echo "output: $output"