tests: use ports:report to get the list of port mappings

This commit is contained in:
Jose Diaz-Gonzalez
2023-07-08 16:56:14 -04:00
parent 914475f3e4
commit 11d9ed6724

View File

@@ -276,7 +276,7 @@ assert_url() {
echo "VHOST: $(cat $DOKKU_ROOT/$TEST_APP/VHOST | xargs)"
echo "tls: $(ls $DOKKU_ROOT/$TEST_APP/tls || true)"
echo "proxy-is-enabled: $(dokku plugin:trigger proxy-is-enabled "$TEST_APP")"
echo "port-map: $(dokku config:get "$TEST_APP" DOKKU_PROXY_PORT_MAP)"
echo "port-map: $(dokku ports:report "$TEST_APP" --ports-map)"
echo "url: $(dokku urls $TEST_APP)"
echo "output: $output"
echo "status: $status"
@@ -290,7 +290,7 @@ assert_urls() {
echo "VHOST: $(cat $DOKKU_ROOT/$TEST_APP/VHOST | xargs)"
echo "tls: $(ls $DOKKU_ROOT/$TEST_APP/tls || true)"
echo "proxy-is-enabled: $(dokku plugin:trigger proxy-is-enabled "$TEST_APP")"
echo "port-map: $(dokku config:get "$TEST_APP" DOKKU_PROXY_PORT_MAP)"
echo "port-map: $(dokku ports:report "$TEST_APP" --ports-map)"
echo "urls: $(dokku urls $TEST_APP)"
echo "output: $output"
echo "status: $status"