diff --git a/lib/Cake/Test/Case/Model/ModelWriteTest.php b/lib/Cake/Test/Case/Model/ModelWriteTest.php index 3f37011cd15..0baf4d66e8b 100644 --- a/lib/Cake/Test/Case/Model/ModelWriteTest.php +++ b/lib/Cake/Test/Case/Model/ModelWriteTest.php @@ -3409,7 +3409,8 @@ public function testSaveAllTransaction() { $result = $TestModel->find('all', array( 'recursive' => -1, - 'fields' => array('author_id', 'title','body','published') + 'fields' => array('author_id', 'title','body','published'), + 'order' => array('Post.created' => 'ASC') )); $expected = array(