diff --git a/lib/Cake/Test/Case/Model/ModelReadTest.php b/lib/Cake/Test/Case/Model/ModelReadTest.php index c416bba3f39..cdd32951db5 100644 --- a/lib/Cake/Test/Case/Model/ModelReadTest.php +++ b/lib/Cake/Test/Case/Model/ModelReadTest.php @@ -4959,7 +4959,9 @@ public function testUnBindMultipleTimesWithDifferentResetSettings() { public function testAssociationAfterFind() { $this->loadFixtures('Post', 'Author', 'Comment'); $TestModel = new Post(); - $result = $TestModel->find('all'); + $result = $TestModel->find('all', array( + 'order' => array('Post.id' => 'ASC') + )); $expected = array( array( 'Post' => array( @@ -5028,6 +5030,7 @@ public function testAssociationAfterFind() { ))); $result = $Author->find('all', array( 'conditions' => array('Author.id' => 1), + 'order' => array('Author.id' => 'ASC'), 'recursive' => 2 )); $expected = array(