From 20d4675024b0a6ce58153c681ad8c5ccdd9b7b7b Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 31 Oct 2010 02:01:55 +0000 Subject: Refs #2597 - fixes some unit tests broken in the reorg of the data models git-svn-id: http://code.elgg.org/elgg/trunk@7165 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/tests/objects/objects.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engine/tests/objects/objects.php') 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() { -- cgit v1.2.3