summaryrefslogtreecommitdiff
path: root/modules/user/user.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.test')
-rw-r--r--modules/user/user.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.test b/modules/user/user.test
index 14b7c407c..186a45fed 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -1224,7 +1224,7 @@ class UserSaveTestCase extends DrupalWebTestCase {
'pass' => user_password(),
'status' => 1,
);
- $user_by_return = user_save('', $user);
+ $user_by_return = user_save(drupal_anonymous_user(), $user);
$this->assertTrue($user_by_return, t('Loading user by return of user_save().'));
// Test if created user exists.