summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt')
-rw-r--r--src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt b/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt
index 513b650..dc53593 100644
--- a/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt
+++ b/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt
@@ -5,6 +5,8 @@ Disable functions - Ensure that client certificates validation can't be disabled
5if (!extension_loaded("snuffleupagus")) { die("skip"); } 5if (!extension_loaded("snuffleupagus")) { die("skip"); }
6if (!extension_loaded("curl")) { die("skip"); } 6if (!extension_loaded("curl")) { die("skip"); }
7?> 7?>
8--EXTENSIONS--
9curl
8--INI-- 10--INI--
9sp.configuration_file={PWD}/config/disabled_function_curl_verify_certs.ini 11sp.configuration_file={PWD}/config/disabled_function_curl_verify_certs.ini
10--FILE-- 12--FILE--
@@ -15,4 +17,4 @@ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, '0');
15echo "1337"; 17echo "1337";
16?> 18?>
17--EXPECTF-- 19--EXPECTF--
18Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'curl_setopt', because its argument '$option' content (64) matched the rule 'Please don't turn CURLOPT_SSL_VERIFYPEER off.' in %s/disabled_function_ensure_client_valid_certs.php on line %d 20Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'curl_setopt', because its argument '$option' content (64) matched the rule 'Please don't turn CURLOPT_SSL_VERIFYPEER off.' in %s/disabled_function_ensure_client_valid_certs.php on line %d