mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix for PHP 5.3
This commit is contained in:
parent
745f3a33e6
commit
f57f038c09
1 changed files with 1 additions and 1 deletions
|
@ -4870,7 +4870,7 @@ class FormHelperTest extends CakeTestCase {
|
|||
$result = $this->Form->select(
|
||||
'Model.field',
|
||||
array(0 => 'No', 1 => 'Yes', 2 => 'Yes again'),
|
||||
array('value' => [false, 2], 'empty' => false)
|
||||
array('value' => array(false, 2), 'empty' => false)
|
||||
);
|
||||
$expected = array(
|
||||
'select' => array('name' => 'data[Model][field]', 'id' => 'ModelField'),
|
||||
|
|
Loading…
Add table
Reference in a new issue