14
14
use Symfony \Component \Form \ChoiceList \View \ChoiceView ;
15
15
use Symfony \Component \Form \FormError ;
16
16
use Symfony \Component \Form \FormInterface ;
17
+ use Symfony \Component \Intl \Intl ;
17
18
use Symfony \Component \Intl \Util \IntlTestHelper ;
18
19
use Symfony \Component \OptionsResolver \Exception \InvalidOptionsException ;
19
20
@@ -91,6 +92,10 @@ public function testSubmitFromSingleTextDateTime()
91
92
// we test against "de_DE", so we need the full implementation
92
93
IntlTestHelper::requireFullIntl ($ this , false );
93
94
95
+ if ('71.1 ' === Intl::getIcuVersion ()) {
96
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
97
+ }
98
+
94
99
\Locale::setDefault ('de_DE ' );
95
100
96
101
$ form = $ this ->factory ->create (static ::TESTED_TYPE , null , [
@@ -113,6 +118,10 @@ public function testSubmitFromSingleTextDateTimeImmutable()
113
118
// we test against "de_DE", so we need the full implementation
114
119
IntlTestHelper::requireFullIntl ($ this , false );
115
120
121
+ if ('71.1 ' === Intl::getIcuVersion ()) {
122
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
123
+ }
124
+
116
125
\Locale::setDefault ('de_DE ' );
117
126
118
127
$ form = $ this ->factory ->create (static ::TESTED_TYPE , null , [
@@ -136,6 +145,10 @@ public function testSubmitFromSingleTextString()
136
145
// we test against "de_DE", so we need the full implementation
137
146
IntlTestHelper::requireFullIntl ($ this , false );
138
147
148
+ if ('71.1 ' === Intl::getIcuVersion ()) {
149
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
150
+ }
151
+
139
152
\Locale::setDefault ('de_DE ' );
140
153
141
154
$ form = $ this ->factory ->create (static ::TESTED_TYPE , null , [
@@ -158,6 +171,10 @@ public function testSubmitFromSingleTextTimestamp()
158
171
// we test against "de_DE", so we need the full implementation
159
172
IntlTestHelper::requireFullIntl ($ this , false );
160
173
174
+ if ('71.1 ' === Intl::getIcuVersion ()) {
175
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
176
+ }
177
+
161
178
\Locale::setDefault ('de_DE ' );
162
179
163
180
$ form = $ this ->factory ->create (static ::TESTED_TYPE , null , [
@@ -182,6 +199,10 @@ public function testSubmitFromSingleTextRaw()
182
199
// we test against "de_DE", so we need the full implementation
183
200
IntlTestHelper::requireFullIntl ($ this , false );
184
201
202
+ if ('71.1 ' === Intl::getIcuVersion ()) {
203
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
204
+ }
205
+
185
206
\Locale::setDefault ('de_DE ' );
186
207
187
208
$ form = $ this ->factory ->create (static ::TESTED_TYPE , null , [
0 commit comments