tests: use an alternative curl request to ensure requests go to the local nginx

The alternative is to rely on DNS and /etc/hosts rules, which isn't quite great because it requires modifying the system.
This commit is contained in:
Jose Diaz-Gonzalez committed 2023-08-05 10:58:57 -04:00
1 parent 04905bf553
commit 5717e71755
3 files changed
+14 -6

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ teardown() {
assert_success
assert_nonssl_domain "www.test.app.dokku.me"
assert_http_success "customtemplate.dokku.me"
assert_http_localhost_success "http" "customtemplate.dokku.me"
run /bin/bash -c "dokku nginx:show-config $TEST_APP"
echo "output: $output"