Add ordering to prevent occasional pgsql failures.

This commit is contained in:
mark_story 2013-06-21 17:47:08 -04:00
parent c7ba2d5f57
commit 94815a74f1

View file

@ -6533,7 +6533,9 @@ class ModelWriteTest extends BaseModelTest {
));
$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',