]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes for [7165] - entity variable changed
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 31 Oct 2010 02:13:56 +0000 (02:13 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 31 Oct 2010 02:13:56 +0000 (02:13 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7167 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/tests/objects/sites.php
engine/tests/objects/users.php

index a411f368cbe3253ab8c387227233ee0305f15fab..d8c458bc4f44edebd3a443c080931d4ca0b39981 100644 (file)
@@ -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);
index baf03d0fe1336f9308e4ef340250a6dfac6f2dd4..fe5b48b0373e4736c42441eab6b200f49421515c 100644 (file)
@@ -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);