Skip to content

Commit

Permalink
Set default locale to en-US
Browse files Browse the repository at this point in the history
  • Loading branch information
plfort committed Nov 17, 2017
1 parent 90b0f90 commit 8e3c6e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/Twig/DataGridExtensionFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class DataGridExtensionFunctionalTest extends KernelTestCase

public function setUp()
{
ini_set('intl.default_locale', 'en-US');
$kernel = self::createKernel(['debug' => true]);
$kernel->boot();
$this->extension = $kernel->getContainer()->get('grid.twig_extension');
Expand Down Expand Up @@ -388,7 +389,7 @@ public function testRenderCellNumberColumnDecimal($locale, $roundingMode, $preci
public function numberColumnCurrencyProvider()
{
return [
[null, 1, false, 1234.55, '$ 1234.6'],
[null, 1, false, 1234.55, '$1234.6'],
['fr_FR', 0, false, 1234.54, '1235 €'],
['fr_FR', 1, true, 1234.55, '1 234,6 €'],
];
Expand Down

0 comments on commit 8e3c6e9

Please sign in to comment.