Przeglądaj źródła

[Form] fixed missing locale setting in unit tests

Brandon Turner 14 lat temu
rodzic
commit
2052501634

+ 2 - 0
tests/Symfony/Tests/Component/Form/DateFieldTest.php

@@ -197,6 +197,8 @@ EOF;
             'pattern' => '%day%---%month%---%year%',
         ));
 
+        $field->setLocale('de_AT');
+
         $html = <<<EOF
 <select id="name_day" name="name[day]">
 <option value="1">01</option>