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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/tests/objects/sites.php b/engine/tests/objects/sites.php
index 4d079c30f..d0d61dcab 100644
--- a/engine/tests/objects/sites.php
+++ b/engine/tests/objects/sites.php
@@ -44,8 +44,8 @@ class ElggCoreSiteTest extends ElggCoreUnitTest {
$attributes['guid'] = NULL;
$attributes['type'] = 'site';
$attributes['subtype'] = NULL;
- $attributes['owner_guid'] = get_loggedin_userid();
- $attributes['container_guid'] = get_loggedin_userid();
+ $attributes['owner_guid'] = elgg_get_logged_in_user_guid();
+ $attributes['container_guid'] = elgg_get_logged_in_user_guid();
$attributes['site_guid'] = NULL;
$attributes['access_id'] = ACCESS_PRIVATE;
$attributes['time_created'] = NULL;