mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fix whitespace
This commit is contained in:
parent
35cc737261
commit
37ab0611ae
1 changed files with 2 additions and 2 deletions
|
@ -8007,7 +8007,7 @@ class FormHelperTest extends CakeTestCase {
|
||||||
);
|
);
|
||||||
$this->assertTags($result, $expected);
|
$this->assertTags($result, $expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test that required fields are created when only using ModelValidator::add().
|
* Test that required fields are created when only using ModelValidator::add().
|
||||||
*
|
*
|
||||||
|
@ -8015,7 +8015,7 @@ class FormHelperTest extends CakeTestCase {
|
||||||
*/
|
*/
|
||||||
public function testFormInputRequiredDetectionModelValidator() {
|
public function testFormInputRequiredDetectionModelValidator() {
|
||||||
ClassRegistry::getObject('ContactTag')->validator()->add('iwillberequired', 'required', array('rule' => 'notEmpty'));
|
ClassRegistry::getObject('ContactTag')->validator()->add('iwillberequired', 'required', array('rule' => 'notEmpty'));
|
||||||
|
|
||||||
$this->Form->create('ContactTag');
|
$this->Form->create('ContactTag');
|
||||||
$result = $this->Form->input('ContactTag.iwillberequired');
|
$result = $this->Form->input('ContactTag.iwillberequired');
|
||||||
$expected = array(
|
$expected = array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue