[Form][Locale] updated minimum ICU version to 4.0
This commit is contained in:
parent
0d442c7653
commit
61e353942e
|
@ -96,8 +96,8 @@ class DateTimeToLocalizedStringTransformerTest extends DateTimeTestCase
|
|||
|
||||
public function testTransformFullTime()
|
||||
{
|
||||
if ($this->isLowerThanIcuVersion(3.8)) {
|
||||
$this->markTestSkipped('Please upgrade ICU version to 3.8+');
|
||||
if ($this->isLowerThanIcuVersion('4.0')) {
|
||||
$this->markTestSkipped('Please upgrade ICU version to 4.0+');
|
||||
}
|
||||
|
||||
$transformer = new DateTimeToLocalizedStringTransformer('UTC', 'UTC', null, \IntlDateFormatter::FULL);
|
||||
|
@ -213,8 +213,8 @@ class DateTimeToLocalizedStringTransformerTest extends DateTimeTestCase
|
|||
|
||||
public function testReverseTransformFullTime()
|
||||
{
|
||||
if ($this->isLowerThanIcuVersion(3.8)) {
|
||||
$this->markTestSkipped('Please upgrade ICU version to 3.8+');
|
||||
if ($this->isLowerThanIcuVersion('4.0')) {
|
||||
$this->markTestSkipped('Please upgrade ICU version to 4.0+');
|
||||
}
|
||||
|
||||
$transformer = new DateTimeToLocalizedStringTransformer('UTC', 'UTC', null, \IntlDateFormatter::FULL);
|
||||
|
|
|
@ -40,7 +40,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
|
|||
protected function skipIfICUVersionIsTooOld()
|
||||
{
|
||||
if ($this->isLowerThanIcuVersion('4.0')) {
|
||||
$this->markTestSkipped('Please upgrade ICU version to 4+');
|
||||
$this->markTestSkipped('Please upgrade ICU version to 4.0+');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue