From 63e195eb3024e9aa79c1c4bc7285b329329c91af Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 26 Nov 2008 13:48:50 +0000 Subject: - Patch #338239 by Damien Tournoud: clean-up DrupalWebTestCase. --- modules/simpletest/tests/session.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/simpletest/tests/session.test') diff --git a/modules/simpletest/tests/session.test b/modules/simpletest/tests/session.test index 4512d9cd4..082345e64 100644 --- a/modules/simpletest/tests/session.test +++ b/modules/simpletest/tests/session.test @@ -169,9 +169,9 @@ class SessionTestCase extends DrupalWebTestCase { $this->curlClose(); // Change cookie file for user. - $this->cookie_file = file_directory_temp() . '/cookie.' . $uid . '.txt'; - $this->curl_options[CURLOPT_COOKIEFILE] = $this->cookie_file; - $this->curl_options[CURLOPT_COOKIESESSION] = TRUE; + $this->cookieFile = file_directory_temp() . '/cookie.' . $uid . '.txt'; + $this->additionalCurlOptions[CURLOPT_COOKIEFILE] = $this->cookieFile; + $this->additionalCurlOptions[CURLOPT_COOKIESESSION] = TRUE; $this->drupalGet('session-test/get'); $this->assertResponse(200, t('Session test module is correctly enabled.'), t('Session')); } -- cgit v1.2.3