Skip to content

Commit 8e3c6e9

Browse files
author
plfort
committed
Set default locale to en-US
1 parent 90b0f90 commit 8e3c6e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Twig/DataGridExtensionFunctionalTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class DataGridExtensionFunctionalTest extends KernelTestCase
4141

4242
public function setUp()
4343
{
44+
ini_set('intl.default_locale', 'en-US');
4445
$kernel = self::createKernel(['debug' => true]);
4546
$kernel->boot();
4647
$this->extension = $kernel->getContainer()->get('grid.twig_extension');
@@ -388,7 +389,7 @@ public function testRenderCellNumberColumnDecimal($locale, $roundingMode, $preci
388389
public function numberColumnCurrencyProvider()
389390
{
390391
return [
391-
[null, 1, false, 1234.55, '$ 1234.6'],
392+
[null, 1, false, 1234.55, '$1234.6'],
392393
['fr_FR', 0, false, 1234.54, '1235 €'],
393394
['fr_FR', 1, true, 1234.55, '1 234,6 €'],
394395
];

0 commit comments

Comments
 (0)