From ff1d229781304112d3376fedabb98e3dbfb0c0ab Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 20 May 2010 20:38:54 +0000 Subject: Fixes #2159: Updated entity getter test to order by guid instead of time_created. git-svn-id: http://code.elgg.org/elgg/trunk@6119 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/tests/api/entity_getter_functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/tests') diff --git a/engine/tests/api/entity_getter_functions.php b/engine/tests/api/entity_getter_functions.php index 1d7261c0d..9fcc6fe01 100644 --- a/engine/tests/api/entity_getter_functions.php +++ b/engine/tests/api/entity_getter_functions.php @@ -847,7 +847,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest { $options = array( 'type' => 'object', 'limit' => 1, - 'order_by' => 'e.time_created desc' + 'order_by' => 'guid desc' ); // grab ourself again to fill out attributes. @@ -875,7 +875,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest { 'type' => 'object', 'subtype' => ELGG_ENTITIES_NO_VALUE, 'limit' => 1, - 'order_by' => 'e.time_created desc' + 'order_by' => 'guid desc' ); // grab ourself again to fill out attributes. @@ -910,7 +910,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest { 'type' => 'object', 'subtype' => ELGG_ENTITIES_NO_VALUE, 'limit' => 1, - 'order_by' => 'e.time_created desc' + 'order_by' => 'guid desc' ); // grab ourself again to fill out attributes. -- cgit v1.2.3