Fix for PHP 5.3

This commit is contained in:
mark_story 2016-03-16 21:17:42 -04:00
parent 745f3a33e6
commit f57f038c09

View file

@ -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'),