Browse Source

Try to set order on more things.

mark_story 13 years ago
parent
commit
83d307e545

+ 2 - 1
lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php

@@ -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');