diff options
Diffstat (limited to 'engine/tests/objects/objects.php')
-rw-r--r-- | engine/tests/objects/objects.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/tests/objects/objects.php b/engine/tests/objects/objects.php index b17165a3d..40c3c635a 100644 --- a/engine/tests/objects/objects.php +++ b/engine/tests/objects/objects.php @@ -53,8 +53,12 @@ class ElggCoreObjectTest extends ElggCoreUnitTest { $attributes['tables_loaded'] = 0; $attributes['title'] = ''; $attributes['description'] = ''; + ksort($attributes); - $this->assertIdentical($this->entity->expose_attributes(), $attributes); + $entity_attributes = $this->entity->expose_attributes(); + ksort($entity_attributes); + + $this->assertIdentical($entity_attributes, $attributes); } public function testElggObjectSave() { |