Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
- Trailing whitespace
  • Loading branch information
weierophinney committed Oct 10, 2012
1 parent 5360cf7 commit 25136d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/DateStepTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ public function testEqualsMessageTemplates()
$this->assertObjectHasAttribute('messageTemplates', $validator);
$this->assertAttributeEquals($validator->getOption('messageTemplates'), 'messageTemplates', $validator);
}

public function testStepError()
{
$validator = new Validator\DateStep(array(
'format' => 'Y-m-d',
'baseValue' => '2012-01-23',
'step' => new DateInterval("P10D"),
));

$this->assertFalse($validator->isValid('2012-13-13'));
}
}

0 comments on commit 25136d3

Please sign in to comment.