PHPCS typos fixed

This commit is contained in:
Dario Savella 2019-03-15 18:50:26 +01:00
parent 08d11154a7
commit cf5577234f

View file

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