]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2159: Updated entity getter test to order by guid instead of time_created.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 20 May 2010 20:38:54 +0000 (20:38 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 20 May 2010 20:38:54 +0000 (20:38 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6119 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/tests/api/entity_getter_functions.php

index 1d7261c0d51b5b9a062c160c672cdcd74745f0a9..9fcc6fe0127a0cb9418397f5089ca5ad305a7c44 100644 (file)
@@ -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.