mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-04-15 13:33:01 +00:00
Fixing faling test case
This commit is contained in:
parent
7a7d0de988
commit
e7ee5e9eda
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class ModelReadTest extends BaseModelTest {
|
|||
$result = $Post->find('all',array(
|
||||
'fields' => array($dbo->calculate($Post,'max',array('other_field')))
|
||||
));
|
||||
$this->assertEqual($result[0]['other_field'],4);
|
||||
$this->assertEqual($result[0][0]['other_field'],4);
|
||||
|
||||
ClassRegistry::flush();
|
||||
$Writing = ClassRegistry::init(array('class' => 'Post', 'alias' => 'Writing'),'Model');
|
||||
|
|
Loading…
Add table
Reference in a new issue