File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/Symfony/Component/Form/Tests Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -947,12 +947,12 @@ public function testDateTimeSingleText()
947
947
'/div
948
948
[
949
949
./input
950
- [@type="text "]
950
+ [@type="date "]
951
951
[@id="name_date"]
952
952
[@name="name[date]"]
953
953
[@value="Feb 3, 2011"]
954
954
/following-sibling::input
955
- [@type="text "]
955
+ [@type="time "]
956
956
[@id="name_time"]
957
957
[@name="name[time]"]
958
958
[@value="04:05"]
@@ -970,7 +970,7 @@ public function testDateTimeWithWidgetSingleText()
970
970
971
971
$ this ->assertWidgetMatchesXpath ($ form ->createView (), array (),
972
972
'/input
973
- [@type="text "]
973
+ [@type="datetime "]
974
974
[@name="name"]
975
975
[@value="2011-02-03 04:05"]
976
976
'
@@ -988,7 +988,7 @@ public function testDateTimeWithWidgetSingleTextIgnoreDateAndTimeWidgets()
988
988
989
989
$ this ->assertWidgetMatchesXpath ($ form ->createView (), array (),
990
990
'/input
991
- [@type="text "]
991
+ [@type="datetime "]
992
992
[@name="name"]
993
993
[@value="2011-02-03 04:05"]
994
994
'
@@ -1111,7 +1111,7 @@ public function testDateSingleText()
1111
1111
1112
1112
$ this ->assertWidgetMatchesXpath ($ form ->createView (), array (),
1113
1113
'/input
1114
- [@type="text "]
1114
+ [@type="date "]
1115
1115
[@name="name"]
1116
1116
[@value="Feb 3, 2011"]
1117
1117
'
@@ -1586,7 +1586,7 @@ public function testTimeSingleText()
1586
1586
1587
1587
$ this ->assertWidgetMatchesXpath ($ form ->createView (), array (),
1588
1588
'/input
1589
- [@type="text "]
1589
+ [@type="time "]
1590
1590
[@name="name"]
1591
1591
[@value="04:05"]
1592
1592
'
You can’t perform that action at this time.
0 commit comments