Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Try to set order on more things.

  • Loading branch information...
commit 83d307e5456370f3a701bfe89783c2eace7f86c2 1 parent 9e07789
Mark Story markstory authored
3  lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
View
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.