8000 Merge branch '3.2' · symfony/symfony@554b1a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 554b1a7

Browse files
committed
Merge branch '3.2'
* 3.2: [Form] fixed tests
2 parents 6ccdcdc + 6516a20 commit 554b1a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function testSubmitFromSingleTextDateTimeWithDefaultFormat()
6969

7070
public function testSubmitFromSingleTextDateTimeWithCustomFormat()
7171
{
72-
$form = $this->factory->create('date', null, array(
72+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\DateType', null, array(
7373
'model_timezone' => 'UTC',
7474
'view_timezone' => 'UTC',
7575
'widget' => 'single_text',
@@ -369,7 +369,7 @@ public function testThrowExceptionIfFormatDoesNotContainYearMonthAndDay()
369369
*/
370370
public function testThrowExceptionIfFormatMissesYearMonthAndDayWithSingleTextWidget()
371371
{
372-
$this->factory->create('date', null, array(
372+
$this->factory->create('Symfony\Component\Form\Extension\Core\Type\DateType', null, array(
373373
'widget' => 'single_text',
374374
'format' => 'wrong',
375375
));

0 commit comments

Comments
 (0)
0