Browse files

Try to set order on more things.

  • Loading branch information...
1 parent 9e07789 commit 83d307e5456370f3a701bfe89783c2eace7f86c2 @markstory markstory committed Oct 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
View
3 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');

0 comments on commit 83d307e

Please sign in to comment.