File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Form/Tests/Extension/Core/Type
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function testSubmitFromSingleTextDateTimeWithDefaultFormat()
69
69
70
70
public function testSubmitFromSingleTextDateTimeWithCustomFormat ()
71
71
{
72
- $ form = $ this ->factory ->create ('date ' , null , array (
72
+ $ form = $ this ->factory ->create ('Symfony\Component\Form\Extension\Core\Type\DateType ' , null , array (
73
73
'model_timezone ' => 'UTC ' ,
74
74
'view_timezone ' => 'UTC ' ,
75
75
'widget ' => 'single_text ' ,
@@ -369,7 +369,7 @@ public function testThrowExceptionIfFormatDoesNotContainYearMonthAndDay()
369
369
*/
370
370
public function testThrowExceptionIfFormatMissesYearMonthAndDayWithSingleTextWidget ()
371
371
{
372
- $ this ->factory ->create ('date ' , null , array (
372
+ $ this ->factory ->create ('Symfony\Component\Form\Extension\Core\Type\DateType ' , null , array (
373
373
'widget ' => 'single_text ' ,
374
374
'format ' => 'wrong ' ,
375
375
));
You can’t perform that action at this time.
0 commit comments