-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 418 pages with correct info and tests
- Loading branch information
1 parent
8af6c87
commit 0eae499
Showing
6 changed files
with
82 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.idea | ||
/tmp/* | ||
*.swp | ||
client-ca | ||
upstream-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -564,6 +564,46 @@ else | |
echo "Testing VERBOSE_ERROR_PAGES works..." | ||
fi | ||
|
||
start_test "Test VERBOSE_ERROR_PAGES is not set displays default message info" "${STD_CMD} \ | ||
-e \"PROXY_SERVICE_HOST=http://${MOCKSERVER}\" \ | ||
-e \"PROXY_SERVICE_PORT=${MOCKSERVER_PORT}\" \ | ||
-e \"DNSMASK=TRUE\" \ | ||
-e \"ENABLE_UUID_PARAM=FALSE\" \ | ||
--link \"${MOCKSERVER}:${MOCKSERVER}\" " | ||
if curl -k https://${DOCKER_HOST_NAME}:${PORT}/\?\"==\` | grep "Something went wrong." ; then | ||
echo "Testing VERBOSE_ERROR_PAGES works..." | ||
else | ||
echo "Testing VERBOSE_ERROR_PAGES failed..." | ||
exit 1 | ||
fi | ||
|
||
start_test "Test FEEDBACK_EMAIL is set, displays contact message info" "${STD_CMD} \ | ||
-e \"PROXY_SERVICE_HOST=http://${MOCKSERVER}\" \ | ||
-e \"PROXY_SERVICE_PORT=${MOCKSERVER_PORT}\" \ | ||
-e \"DNSMASK=TRUE\" \ | ||
-e \"ENABLE_UUID_PARAM=FALSE\" \ | ||
-e \"[email protected]\" \ | ||
--link \"${MOCKSERVER}:${MOCKSERVER}\" " | ||
if curl -k https://${DOCKER_HOST_NAME}:${PORT}/\?\"==\` | grep "[email protected]" ; then | ||
echo "Testing VERBOSE_ERROR_PAGES works..." | ||
else | ||
echo "Testing VERBOSE_ERROR_PAGES failed..." | ||
exit 1 | ||
fi | ||
|
||
start_test "Test FEEDBACK_EMAIL is not set, does not display email message info" "${STD_CMD} \ | ||
-e \"PROXY_SERVICE_HOST=http://${MOCKSERVER}\" \ | ||
-e \"PROXY_SERVICE_PORT=${MOCKSERVER_PORT}\" \ | ||
-e \"DNSMASK=TRUE\" \ | ||
-e \"ENABLE_UUID_PARAM=FALSE\" \ | ||
--link \"${MOCKSERVER}:${MOCKSERVER}\" " | ||
if curl -k https://${DOCKER_HOST_NAME}:${PORT}/\?\"==\` | grep "please contact us on" ; then | ||
echo "Testing VERBOSE_ERROR_PAGES failed..." | ||
exit 1 | ||
else | ||
echo "Testing VERBOSE_ERROR_PAGES works..." | ||
fi | ||
|
||
echo "_________________________________" | ||
echo "We got here, ALL tests successful" | ||
clean_up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters