diff options
Diffstat (limited to 'engine/tests/objects/users.php')
-rw-r--r-- | engine/tests/objects/users.php | 6 |
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() { |