[Locale] fixed a test

This commit is contained in:
Fabien Potencier 2012-12-15 18:28:15 +01:00
parent e713bb4e7e
commit ab64da5671

View File

@ -67,7 +67,7 @@ class StubLocaleTest extends LocaleTestCase
public function testGetCurrenciesData() public function testGetCurrenciesData()
{ {
$symbol = $this->isSameAsIcuVersion('4.8') ? 'BR$' : 'R$'; $symbol = $this->isGreaterOrEqualThanIcuVersion('4.8') ? 'BR$' : 'R$';
$currencies = StubLocale::getCurrenciesData('en'); $currencies = StubLocale::getCurrenciesData('en');
$this->assertEquals($symbol, $currencies['BRL']['symbol']); $this->assertEquals($symbol, $currencies['BRL']['symbol']);