mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add ordering to prevent occasional pgsql failures.
This commit is contained in:
parent
c7ba2d5f57
commit
94815a74f1
1 changed files with 3 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue