diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/tests/objects/sites.php | 2 | ||||
-rw-r--r-- | engine/tests/objects/users.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/tests/objects/sites.php b/engine/tests/objects/sites.php index a411f368c..d8c458bc4 100644 --- a/engine/tests/objects/sites.php +++ b/engine/tests/objects/sites.php @@ -59,7 +59,7 @@ class ElggCoreSiteTest extends ElggCoreUnitTest { $attributes['url'] = ''; ksort($attributes); - $entity_attributes = $this->entity->expose_attributes(); + $entity_attributes = $this->site->expose_attributes(); ksort($entity_attributes); $this->assertIdentical($entity_attributes, $attributes); diff --git a/engine/tests/objects/users.php b/engine/tests/objects/users.php index baf03d0fe..fe5b48b03 100644 --- a/engine/tests/objects/users.php +++ b/engine/tests/objects/users.php @@ -70,7 +70,7 @@ class ElggCoreUserTest extends ElggCoreUnitTest { $attributes['admin'] = 'no'; ksort($attributes); - $entity_attributes = $this->entity->expose_attributes(); + $entity_attributes = $this->user->expose_attributes(); ksort($entity_attributes); $this->assertIdentical($entity_attributes, $attributes); |