Skip to content
Permalink
Browse files

Adding order on created to the find, avoid failing test by incorrect …

…order in postgres
  • Loading branch information...
ceeram committed Feb 10, 2012
1 parent 2897c72 commit 1f0af2a138816f86d910db0cbe0f66393c180013
Showing with 2 additions and 1 deletion.
  1. +2 −1 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(

0 comments on commit 1f0af2a

Please sign in to comment.
You can’t perform that action at this time.