Try to set order on more things.

This commit is contained in:
mark_story 2012-10-24 22:38:15 -04:00
parent 9e0778951a
commit 83d307e545

View file

@ -492,7 +492,8 @@ class PaginatorComponentTest extends CakeTestCase {
'PaginatorControllerPost' => array(
'contain' => array('PaginatorControllerComment'),
'maxLimit' => 10,
'paramType' => 'named'
'paramType' => 'named',
'order' => array('PaginatorControllerPost.id' => 'ASC')
),
);
$result = $Controller->Paginator->paginate('PaginatorControllerPost');