mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding order on created to the find, avoid failing test by incorrect order in postgres
This commit is contained in:
parent
2897c72215
commit
1f0af2a138
1 changed files with 2 additions and 1 deletions
|
@ -3409,7 +3409,8 @@ class ModelWriteTest extends BaseModelTest {
|
|||
|
||||
$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(
|
||||
|
|
Loading…
Reference in a new issue