소스 검색

[Form] fixed missing locale setting in unit tests

Brandon Turner 14 년 전
부모
커밋
2052501634
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      tests/Symfony/Tests/Component/Form/DateFieldTest.php

+ 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>