Skip to content

Commit

Permalink
Fixing faling test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 11, 2009
1 parent 7a7d0de commit e7ee5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/model/model_read.test.php
Expand Up @@ -92,7 +92,7 @@ function testVirtualFields() {
$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');
Expand Down

0 comments on commit e7ee5e9

Please sign in to comment.