Skip to content

Commit

Permalink
Remove leftover param that is now wrongly triggering "strict"
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Apr 22, 2013
1 parent 4b1283f commit 48fa358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/ModelReadTest.php
Expand Up @@ -7765,7 +7765,7 @@ public function testVirtualFields() {
$this->assertEquals(4, $result[0][0]['other_field']);

ClassRegistry::flush();
$Writing = ClassRegistry::init(array('class' => 'Post', 'alias' => 'Writing'), 'Model');
$Writing = ClassRegistry::init(array('class' => 'Post', 'alias' => 'Writing'));
$Writing->virtualFields = array('two' => "1 + 1");
$result = $Writing->find('first');
$this->assertEquals(2, $result['Writing']['two']);
Expand Down

0 comments on commit 48fa358

Please sign in to comment.