Skip to content
Permalink
Browse files

Remove leftover param that is now wrongly triggering "strict"

  • Loading branch information...
dereuromark committed Apr 22, 2013
1 parent 4b1283f commit 48fa358260838c4d7fb2dc7275e5cc11727ed9dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Model/ModelReadTest.php
@@ -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']);

0 comments on commit 48fa358

Please sign in to comment.
You can’t perform that action at this time.