Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
thegallagher committed Jul 30, 2013
1 parent 35cc737 commit 37ab061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/View/Helper/FormHelperTest.php
Expand Up @@ -8007,15 +8007,15 @@ public function testFormInputRequiredDetection() {
); );
$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().
* *
* @return void * @return void
*/ */
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(
Expand Down

0 comments on commit 37ab061

Please sign in to comment.