mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Remove flakey swedish intl test
The intl extension relies on system ICU libraries. Which seems to behave differently on CentOS 7.2 with PHP 5.6 (returns as '53.292:18 US$'). See http://stackoverflow.com/questions/3991814/php-pecl-extension-intl-giving-garbled-results-for-swedish-ordinal-numbers/8691743#8691743 It's a redundant test, let's just avoid this noise.
This commit is contained in:
parent
d2c6c539d2
commit
20c6066391
@ -156,10 +156,6 @@ class DBMoneyTest extends SapphireTest
|
||||
// USD in de locale
|
||||
$USD->setLocale('de_DE');
|
||||
$this->assertSame($this->clean('53.292,18 $'), $this->clean($USD->Nice()));
|
||||
|
||||
// USD in swedish locale is fun
|
||||
$USD->setLocale('sv');
|
||||
$this->assertSame($this->clean('53 292,18 US$'), $this->clean($USD->Nice()));
|
||||
}
|
||||
|
||||
public function testGetSymbol()
|
||||
|
Loading…
x
Reference in New Issue
Block a user