diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-08-18 19:25:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-08-18 19:25:52 +0000 |
commit | 0e79597812ad0b6b72cf65bfc928c4a591d80ff1 (patch) | |
tree | 958029aea23cf1ad6b61fcca6eabb0f4cc44bdc9 /modules/simpletest | |
parent | 06379c5470a02f4086d2903b74975879a468d938 (diff) | |
download | brdo-0e79597812ad0b6b72cf65bfc928c4a591d80ff1.tar.gz brdo-0e79597812ad0b6b72cf65bfc928c4a591d80ff1.tar.bz2 |
- Patch #268148 by obsidiandesign: make the simpletests work on https.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |