- Patch #277621 by Damien Tournoud: drupalGet was not working correctly.

merge-requests/26/head
Dries Buytaert 2008-07-02 19:20:58 +00:00
parent 31fbddc458
commit 929b2c599c
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ class DrupalWebTestCase {
// We re-using a CURL connection here. If that connection still has certain
// options set, it might change the GET into a POST. Make sure we clear out
// previous options.
$out = $this->curlExec(array(CURLOPT_URL => url($path, $options), CURLOPT_POST => FALSE, CURLOPT_POSTFIELDS => array()));
$out = $this->curlExec(array(CURLOPT_HTTPGET => TRUE, CURLOPT_URL => url($path, $options)));
$this->refreshVariables(); // Ensure that any changes to variables in the other thread are picked up.
return $out;
}