mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Remove leftover param that is now wrongly triggering "strict"
This commit is contained in:
parent
4b1283f002
commit
48fa358260
1 changed files with 1 additions and 1 deletions
|
@ -7765,7 +7765,7 @@ class ModelReadTest extends BaseModelTest {
|
|||
$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']);
|
||||
|
|
Loading…
Reference in a new issue