Skip to content

Commit

Permalink
minor #22235 Fix tests expecting a valid date (stof)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.7 branch.

Discussion
----------

Fix tests expecting a valid date

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Tests are failing in 2.7 and 2.8 because the day 0 is not considered valid.

Commits
-------

0715480 Fix tests expecting a valid date
  • Loading branch information
fabpot committed Mar 31, 2017
2 parents 11a06cc + 0715480 commit adf73aa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -598,7 +598,7 @@ public function testIsSynchronizedReturnsTrueIfChoiceAndCompletelyFilled()
));

$form->submit(array(
'day' => '0',
'day' => '1',
'month' => '6',
'year' => '2010',
));
Expand Down

0 comments on commit adf73aa

Please sign in to comment.