[Form][Locale] updated minimum ICU version to 4.0

This commit is contained in:
Eriksen Costa 2012-08-05 19:35:38 -03:00
parent 0d442c7653
commit 61e353942e
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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+');
}
}