Permalink
Browse files

Add ordering to prevent occasional pgsql failures.

  • Loading branch information...
1 parent c7ba2d5 commit 94815a74f1e590f0f62d9f177a10c209d530a8f6 @markstory markstory committed Jun 21, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Cake/Test/Case/Model/ModelWriteTest.php
@@ -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',

0 comments on commit 94815a7

Please sign in to comment.