diff options
Diffstat (limited to 'engine/tests/objects/entities.php')
-rw-r--r-- | engine/tests/objects/entities.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/tests/objects/entities.php b/engine/tests/objects/entities.php index e147c0a3c..018f7aa02 100644 --- a/engine/tests/objects/entities.php +++ b/engine/tests/objects/entities.php @@ -39,8 +39,12 @@ class ElggCoreEntityTest extends ElggCoreUnitTest { $test_attributes['enabled'] = 'yes'; $test_attributes['tables_split'] = 1; $test_attributes['tables_loaded'] = 0; + ksort($test_attributes); - $this->assertIdentical($this->entity->expose_attributes(), $test_attributes); + $entity_attributes = $this->entity->expose_attributes(); + ksort($entity_attributes); + + $this->assertIdentical($entity_attributes, $test_attributes); } public function testElggEntityGetAndSetBaseAttributes() { |