minor #22235 Fix tests expecting a valid date (stof)

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

071548090b Fix tests expecting a valid date
This commit is contained in:
Fabien Potencier 2017-03-31 14:41:44 +02:00
commit adf73aac03

View File

@ -598,7 +598,7 @@ class DateTypeTest extends BaseTypeTest
));
$form->submit(array(
'day' => '0',
'day' => '1',
'month' => '6',
'year' => '2010',
));