aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 20:38:54 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 20:38:54 +0000
commitff1d229781304112d3376fedabb98e3dbfb0c0ab (patch)
treef10392fb5e39c382c4fa77eeb2fce6ddb00b11f2 /engine/tests
parent0dea3524f9c9e9d2eb136b525c99bad6b6917f52 (diff)
downloadelgg-ff1d229781304112d3376fedabb98e3dbfb0c0ab.tar.gz
elgg-ff1d229781304112d3376fedabb98e3dbfb0c0ab.tar.bz2
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
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/api/entity_getter_functions.php6
1 files changed, 3 insertions, 3 deletions
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.