summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-14 23:01:38 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-14 23:01:38 +0000
commit3b3050959952ceae617b59246f364f4b0edd2dcd (patch)
treeb7cc39b97156ee0f346334d1e8dd78b5662c40e7 /modules/simpletest/drupal_web_test_case.php
parent8a0d326a8e134ad4261b9575ce073f9e44b72f60 (diff)
downloadbrdo-3b3050959952ceae617b59246f364f4b0edd2dcd.tar.gz
brdo-3b3050959952ceae617b59246f364f4b0edd2dcd.tar.bz2
#347250 by catch, drewish, and Berdir: Add function for loading multiple users in one request.
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 6033638b2..11212e760 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -849,7 +849,7 @@ class DrupalWebTestCase {
// Log in with a clean $user.
$this->originalUser = $user;
drupal_save_session(FALSE);
- $user = user_load(array('uid' => 1));
+ $user = user_load(1);
// Restore necessary variables.
variable_set('install_profile', 'default');