. $(dirname $0)/test_helper.sh test_redirect_http_to_https() { local redirect="$(./test/bin/curl --head http://$reverseproxy/ | sed -e '/Location:/ !d; s/\r//')" assertEquals "Location: https://softwarepublico.dev/" "$redirect" } test_reverse_proxy_to_colab() { local title="$(./test/bin/curl https://$reverseproxy/dashboard | grep '' | sed -e 's/^\s*//')" assertEquals "<title>Home - Colab" "$title" } . shunit2