Skip to content

Commit

Permalink
Add a few more assertions.
Browse files Browse the repository at this point in the history
Add some boundary checks around min/max year options.
  • Loading branch information
markstory committed Jun 2, 2015
1 parent b40f3d2 commit aa0907c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/TestCase/View/Helper/FormHelperTest.php
Expand Up @@ -5922,6 +5922,9 @@ public function testInputDateMaxYear()
'default' => true
]);
$this->assertContains('value="2008" selected="selected"', $result);
$this->assertContains('value="2006"', $result);
$this->assertNotContains('value="2005"', $result);
$this->assertNotContains('value="2009"', $result);
}

/**
Expand Down

0 comments on commit aa0907c

Please sign in to comment.