mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix a few more tests that sometimes fail on postgres.
This commit is contained in:
parent
667dfd308f
commit
ab2ce29bd6
1 changed files with 4 additions and 1 deletions
|
@ -4959,7 +4959,9 @@ class ModelReadTest extends BaseModelTest {
|
|||
public function testAssociationAfterFind() {
|
||||
$this->loadFixtures('Post', 'Author', 'Comment');
|
||||
$TestModel = new Post();
|
||||
$result = $TestModel->find('all');
|
||||
$result = $TestModel->find('all', array(
|
||||
'order' => array('Post.id' => 'ASC')
|
||||
));
|
||||
$expected = array(
|
||||
array(
|
||||
'Post' => array(
|
||||
|
@ -5028,6 +5030,7 @@ class ModelReadTest extends BaseModelTest {
|
|||
)));
|
||||
$result = $Author->find('all', array(
|
||||
'conditions' => array('Author.id' => 1),
|
||||
'order' => array('Author.id' => 'ASC'),
|
||||
'recursive' => 2
|
||||
));
|
||||
$expected = array(
|
||||
|
|
Loading…
Reference in a new issue