summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/simpletest/simpletest.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/simpletest.test b/modules/simpletest/simpletest.test
index f6d0f56c6..a4ee6741e 100644
--- a/modules/simpletest/simpletest.test
+++ b/modules/simpletest/simpletest.test
@@ -287,7 +287,7 @@ class SimpleTestURLTestCase extends DrupalWebTestCase {
*/
function testGetAbsoluteUrl() {
// Testbed runs with Clean URLs disabled, so disable it here.
- $GLOBALS['conf']['clean_url'] = 0;
+ variable_set('clean_url', 0);
$url = 'user/login';
$this->drupalGet($url);