File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Form/Tests/Extension/Core/Type Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,13 +258,13 @@ public function testSubmitDifferentTimezonesDateTimeImmutable()
258
258
259
259
$ outputTime = new \DateTimeImmutable ('2010-06-02 03:04:00 Pacific/Tahiti ' );
260
260
261
- $ form ->submit ('2010-06-02T03:04:00-10:00 ' );
261
+ $ form ->submit ('2010-06-02T03:04:00 ' );
262
262
263
263
$ outputTime = $ outputTime ->setTimezone (new \DateTimeZone ('America/New_York ' ));
264
264
265
265
$ this ->assertInstanceOf (\DateTimeImmutable::class, $ form ->getData ());
266
266
$ this ->assertEquals ($ outputTime , $ form ->getData ());
267
- $ this ->assertEquals ('2010-06-02T03:04:00-10:00 ' , $ form ->getViewData ());
267
+ $ this ->assertEquals ('2010-06-02T03:04:00 ' , $ form ->getViewData ());
268
268
}
269
269
270
270
public function testSubmitStringSingleText ()
You can’t perform that action at this time.
0 commit comments