Fix whitespace

This commit is contained in:
David Gallagher 2013-07-30 11:26:49 +10:00
parent 35cc737261
commit 37ab0611ae

View file

@ -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(