diff --git a/lib/Cake/Test/Case/Model/ModelWriteTest.php b/lib/Cake/Test/Case/Model/ModelWriteTest.php index 1ec06c96b..eaa339ab3 100644 --- a/lib/Cake/Test/Case/Model/ModelWriteTest.php +++ b/lib/Cake/Test/Case/Model/ModelWriteTest.php @@ -6533,7 +6533,9 @@ class ModelWriteTest extends BaseModelTest { )); $TestModel->saveAll($data, array('fieldList' => $fieldList)); - $result = $TestModel->find('all'); + $result = $TestModel->find('all', array( + 'order' => 'Post.id ASC', + )); $expected = array( 'Post' => array ( 'id' => '4',