summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-01-31 16:50:57 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-01-31 16:50:57 +0000
commit2c381622a5bd3ab5b22077348a088bb54ca202dc (patch)
treee11c0ecbdb81b067acbeb7b6fa16cd34e8147f1a /modules/user
parent9544110e01816cd78e73a6756f856d2d8b07bbd1 (diff)
downloadbrdo-2c381622a5bd3ab5b22077348a088bb54ca202dc.tar.gz
brdo-2c381622a5bd3ab5b22077348a088bb54ca202dc.tar.bz2
#88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified.
Diffstat (limited to 'modules/user')
-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 22dea39b1..327068f5b 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -42,7 +42,7 @@ class UserRegistrationTestCase extends DrupalWebTestCase {
$this->assertEqual($user->signature, '', t('Correct signature field.'));
$this->assertTrue(($user->created > REQUEST_TIME - 20 ), t('Correct creation time.'));
$this->assertEqual($user->status, variable_get('user_register', 1) == 1 ? 1 : 0, t('Correct status field.'));
- $this->assertEqual($user->timezone, variable_get('date_default_timezone', NULL), t('Correct time zone field.'));
+ $this->assertEqual($user->timezone, variable_get('date_default_timezone'), t('Correct time zone field.'));
$this->assertEqual($user->language, '', t('Correct language field.'));
$this->assertEqual($user->picture, '', t('Correct picture field.'));
$this->assertEqual($user->init, $mail, t('Correct init field.'));