Explorar el Código

[Form] fixed failing unit test due

Brandon Turner hace 14 años
padre
commit
c3b89eeedd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      tests/Symfony/Tests/Component/Form/DateTimeFieldTest.php

+ 1 - 0
tests/Symfony/Tests/Component/Form/DateTimeFieldTest.php

@@ -169,6 +169,7 @@ class DateTimeFieldTest extends DateTimeTestCase
             'with_seconds' => true,
             'with_seconds' => true,
         ));
         ));
 
 
+        $field->setLocale('de_AT');
         $field->setData(new \DateTime('2010-06-02 03:04:05 UTC'));
         $field->setData(new \DateTime('2010-06-02 03:04:05 UTC'));
 
 
         $html = <<<EOF
         $html = <<<EOF