- Patch #268148 by obsidiandesign: make the simpletests work on https.
--- modules/simpletest/drupal_web_test_case.php 2008/08/18 18:40:07 1.29
+++ modules/simpletest/drupal_web_test_case.php 2008/08/18 19:25:52 1.30
@@ -731,6 +731,8 @@
CURLOPT_URL => $base_url,
CURLOPT_FOLLOWLOCATION => TRUE,
CURLOPT_RETURNTRANSFER => TRUE,
+ CURLOPT_SSL_VERIFYPEER => FALSE, // Required to make the tests run on https://
+ CURLOPT_SSL_VERIFYHOST => FALSE, // Required to make the tests run on https://
);
if (preg_match('/simpletest\d+/', $db_prefix)) {
$curl_options[CURLOPT_USERAGENT] = $db_prefix;