From 83d307e5456370f3a701bfe89783c2eace7f86c2 Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 24 Oct 2012 22:38:15 -0400 Subject: [PATCH] Try to set order on more things. --- .../Test/Case/Controller/Component/PaginatorComponentTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php b/lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php index a9f96a4cf0b..a32b8f69b40 100644 --- a/lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php +++ b/lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php @@ -492,7 +492,8 @@ public function testPaginateExtraParams() { 'PaginatorControllerPost' => array( 'contain' => array('PaginatorControllerComment'), 'maxLimit' => 10, - 'paramType' => 'named' + 'paramType' => 'named', + 'order' => array('PaginatorControllerPost.id' => 'ASC') ), ); $result = $Controller->Paginator->paginate('PaginatorControllerPost');