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 @@ -79,7 +79,7 @@ public function testSubmitFromSingleTextDateTimeWithDefaultFormat()
79
79
80
80
public function testSubmitFromSingleTextDateTimeWithCustomFormat ()
81
81
{
82
- $ form = $ this ->factory ->create ('date ' , null , array (
82
+ $ form = $ this ->factory ->create ('Symfony\Component\Form\Extension\Core\Type\DateType ' , null , array (
83
83
'model_timezone ' => 'UTC ' ,
84
84
'view_timezone ' => 'UTC ' ,
85
85
'widget ' => 'single_text ' ,
@@ -379,7 +379,7 @@ public function testThrowExceptionIfFormatDoesNotContainYearMonthAndDay()
379
379
*/
380
380
public function testThrowExceptionIfFormatMissesYearMonthAndDayWithSingleTextWidget ()
381
381
{
382
- $ this ->factory ->create ('date ' , null , array (
382
+ $ this ->factory ->create ('Symfony\Component\Form\Extension\Core\Type\DateType ' , null , array (
383
383
'widget ' => 'single_text ' ,
384
384
'format ' => 'wrong ' ,
385
385
));
You can’t perform that action at this time.
0 commit comments