diff options
Diffstat (limited to 'engine/tests/objects/sites.php')
-rw-r--r-- | engine/tests/objects/sites.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/tests/objects/sites.php b/engine/tests/objects/sites.php index 7a9198fc2..a411f368c 100644 --- a/engine/tests/objects/sites.php +++ b/engine/tests/objects/sites.php @@ -57,8 +57,12 @@ class ElggCoreSiteTest extends ElggCoreUnitTest { $attributes['name'] = ''; $attributes['description'] = ''; $attributes['url'] = ''; + ksort($attributes); - $this->assertIdentical($this->site->expose_attributes(), $attributes); + $entity_attributes = $this->entity->expose_attributes(); + ksort($entity_attributes); + + $this->assertIdentical($entity_attributes, $attributes); } public function testElggSiteSaveAndDelete() { |