diff options
Diffstat (limited to 'engine/tests/objects/users.php')
-rw-r--r-- | engine/tests/objects/users.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/engine/tests/objects/users.php b/engine/tests/objects/users.php index fe5b48b03..c0566c9b4 100644 --- a/engine/tests/objects/users.php +++ b/engine/tests/objects/users.php @@ -46,26 +46,26 @@ class ElggCoreUserTest extends ElggCoreUnitTest { */ public function testElggUserConstructor() { $attributes = array(); - $attributes['guid'] = ''; + $attributes['guid'] = NULL; $attributes['type'] = 'user'; - $attributes['subtype'] = ''; + $attributes['subtype'] = NULL; $attributes['owner_guid'] = get_loggedin_userid(); $attributes['container_guid'] = get_loggedin_userid(); - $attributes['site_guid'] = 0; + $attributes['site_guid'] = NULL; $attributes['access_id'] = ACCESS_PRIVATE; - $attributes['time_created'] = ''; - $attributes['time_updated'] = ''; - $attributes['last_action'] = ''; + $attributes['time_created'] = NULL; + $attributes['time_updated'] = NULL; + $attributes['last_action'] = NULL; $attributes['enabled'] = 'yes'; $attributes['tables_split'] = 2; $attributes['tables_loaded'] = 0; - $attributes['name'] = ''; - $attributes['username'] = ''; - $attributes['password'] = ''; - $attributes['salt'] = ''; - $attributes['email'] = ''; - $attributes['language'] = ''; - $attributes['code'] = ''; + $attributes['name'] = NULL; + $attributes['username'] = NULL; + $attributes['password'] = NULL; + $attributes['salt'] = NULL; + $attributes['email'] = NULL; + $attributes['language'] = NULL; + $attributes['code'] = NULL; $attributes['banned'] = 'no'; $attributes['admin'] = 'no'; ksort($attributes); |