mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
PHPCS typos fixed
This commit is contained in:
parent
08d11154a7
commit
cf5577234f
1 changed files with 4 additions and 4 deletions
|
@ -2093,10 +2093,10 @@ class FormHelperTest extends CakeTestCase {
|
||||||
$Contact = ClassRegistry::getObject('Contact');
|
$Contact = ClassRegistry::getObject('Contact');
|
||||||
$Contact->validationErrors['password'] = array('Please provide a password');
|
$Contact->validationErrors['password'] = array('Please provide a password');
|
||||||
|
|
||||||
$result = $this->Form->input('Contact.password',array(
|
$result = $this->Form->input('Contact.password', array(
|
||||||
'error' => array(
|
'error' => array(
|
||||||
'attributes' => array('class' => 'special-error-class'),
|
'attributes' => array('class' => 'special-error-class'),
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
$expected = array(
|
$expected = array(
|
||||||
'div' => array('class' => 'input password error'),
|
'div' => array('class' => 'input password error'),
|
||||||
|
@ -2115,7 +2115,7 @@ class FormHelperTest extends CakeTestCase {
|
||||||
$this->assertTags($result, $expected);
|
$this->assertTags($result, $expected);
|
||||||
|
|
||||||
$Contact->validationErrors['password'] = array('Please provide a password<br>otherwise you will not be able to login');
|
$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(
|
'error' => array(
|
||||||
'attributes' => array(
|
'attributes' => array(
|
||||||
'class' => 'special-error-class',
|
'class' => 'special-error-class',
|
||||||
|
|
Loading…
Add table
Reference in a new issue