Skip to content

Commit

Permalink
Add ordering to prevent occasional pgsql failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 21, 2013
1 parent c7ba2d5 commit 94815a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Cake/Test/Case/Model/ModelWriteTest.php
Expand Up @@ -6533,7 +6533,9 @@ public function testSaveAllFieldListValidateBelongsTo() {
));
$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',
Expand Down

0 comments on commit 94815a7

Please sign in to comment.