10000 minor #22235 Fix tests expecting a valid date (stof) · symfony/symfony@adf73aa · GitHub
[go: up one dir, main page]

Skip to content

Commit adf73aa

Browse files
committed
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 ------- 0715480 Fix tests expecting a valid date
2 parents 11a06cc + 0715480 commit adf73aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ public function testIsSynchronizedReturnsTrueIfChoiceAndCompletelyFilled()
598598
));
599599

600600
$form->submit(array(
601-
'day' => '0',
601+
'day' => '1',
602602
'month' => '6',
603603
'year' => '2010',
604604
));

0 commit comments

Comments
 (0)
0