diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php index 43c1e68d1..4aa6c66fb 100644 --- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php @@ -2093,10 +2093,10 @@ class FormHelperTest extends CakeTestCase { $Contact = ClassRegistry::getObject('Contact'); $Contact->validationErrors['password'] = array('Please provide a password'); - $result = $this->Form->input('Contact.password',array( + $result = $this->Form->input('Contact.password', array( 'error' => array( - 'attributes' => array('class' => 'special-error-class'), - ) + 'attributes' => array('class' => 'special-error-class'), + ) )); $expected = array( 'div' => array('class' => 'input password error'), @@ -2115,7 +2115,7 @@ class FormHelperTest extends CakeTestCase { $this->assertTags($result, $expected); $Contact->validationErrors['password'] = array('Please provide a password
otherwise you will not be able to login'); - $result = $this->Form->input('Contact.password',array( + $result = $this->Form->input('Contact.password', array( 'error' => array( 'attributes' => array( 'class' => 'special-error-class',