aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/objects/sites.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/tests/objects/sites.php')
-rw-r--r--engine/tests/objects/sites.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/tests/objects/sites.php b/engine/tests/objects/sites.php
index d8c458bc4..4d079c30f 100644
--- a/engine/tests/objects/sites.php
+++ b/engine/tests/objects/sites.php
@@ -41,22 +41,22 @@ class ElggCoreSiteTest extends ElggCoreUnitTest {
*/
public function testElggSiteConstructor() {
$attributes = array();
- $attributes['guid'] = '';
+ $attributes['guid'] = NULL;
$attributes['type'] = 'site';
- $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['description'] = '';
- $attributes['url'] = '';
+ $attributes['name'] = NULL;
+ $attributes['description'] = NULL;
+ $attributes['url'] = NULL;
ksort($attributes);
$entity_attributes = $this->site->expose_attributes();