aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/objects/users.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 02:01:55 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 02:01:55 +0000
commit20d4675024b0a6ce58153c681ad8c5ccdd9b7b7b (patch)
treec7703de9b8228be4c3f2a58f3c246f80f9c9da88 /engine/tests/objects/users.php
parent3a568aac00b71f948ed8d49f828e38471ef58d2e (diff)
downloadelgg-20d4675024b0a6ce58153c681ad8c5ccdd9b7b7b.tar.gz
elgg-20d4675024b0a6ce58153c681ad8c5ccdd9b7b7b.tar.bz2
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
Diffstat (limited to 'engine/tests/objects/users.php')
-rw-r--r--engine/tests/objects/users.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/tests/objects/users.php b/engine/tests/objects/users.php
index b6ba9ea4d..baf03d0fe 100644
--- a/engine/tests/objects/users.php
+++ b/engine/tests/objects/users.php
@@ -68,8 +68,12 @@ class ElggCoreUserTest extends ElggCoreUnitTest {
$attributes['code'] = '';
$attributes['banned'] = 'no';
$attributes['admin'] = 'no';
+ ksort($attributes);
- $this->assertIdentical($this->user->expose_attributes(), $attributes);
+ $entity_attributes = $this->entity->expose_attributes();
+ ksort($entity_attributes);
+
+ $this->assertIdentical($entity_attributes, $attributes);
}
public function testElggUserLoad() {