diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-31 02:13:56 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-31 02:13:56 +0000 |
commit | b197bf739abe7c94c9b107e50ba7bbe104ccb314 (patch) | |
tree | b9244ccf72bbd8ad061e5e4f09b1dc79f6b2a392 | |
parent | 08cfd94d52ce2b05e4a7f737c29a97ba9053692e (diff) | |
download | elgg-b197bf739abe7c94c9b107e50ba7bbe104ccb314.tar.gz elgg-b197bf739abe7c94c9b107e50ba7bbe104ccb314.tar.bz2 |
Fixes for [7165] - entity variable changed
git-svn-id: http://code.elgg.org/elgg/trunk@7167 36083f99-b078-4883-b0ff-0f9b5a30f544
-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); |