From 0e79597812ad0b6b72cf65bfc928c4a591d80ff1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 18 Aug 2008 19:25:52 +0000 Subject: - Patch #268148 by obsidiandesign: make the simpletests work on https. --- modules/simpletest/drupal_web_test_case.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/simpletest') diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 602a48ebb..1e4a950ce 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -731,6 +731,8 @@ class DrupalWebTestCase { 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; -- cgit v1.2.3