File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/Symfony/Component/Locale/Tests Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ class LocaleTest extends IntlTestCase
25
25
{
26
26
protected function setUp ()
27
27
{
28
- $ this ->skipIfIntlExtensionNotLoaded ();
28
+ // This class extends from \Ļocale, so we need the extension
29
+ if (!Intl::isExtensionLoaded ()) {
30
+ $ this ->markTestSkipped ('The intl extension is not available. ' );
31
+ }
29
32
30
33
Intl::setDataSource (Intl::STUB );
31
34
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ protected function setUp()
28
28
public function testGetCurrenciesData ()
29
29
{
30
30
$ currencies = StubLocale::getCurrenciesData ('en ' );
31
- $ this ->assertEquals ('BR $ ' , $ currencies ['BRL ' ]['symbol ' ]);
31
+ $ this ->assertEquals ('R $ ' , $ currencies ['BRL ' ]['symbol ' ]);
32
32
$ this ->assertEquals ('Brazilian Real ' , $ currencies ['BRL ' ]['name ' ]);
33
33
$ this ->assertEquals (2 , $ currencies ['BRL ' ]['fractionDigits ' ]);
34
34
$ this ->assertEquals (0 , $ currencies ['BRL ' ]['roundingIncrement ' ]);
You can’t perform that action at this time.
0 commit comments