From b197bf739abe7c94c9b107e50ba7bbe104ccb314 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 31 Oct 2010 02:13:56 +0000 Subject: Fixes for [7165] - entity variable changed git-svn-id: http://code.elgg.org/elgg/trunk@7167 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/tests/objects/sites.php | 2 +- 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); -- cgit v1.2.3