diff --git a/tests/Spout/Writer/ODS/WriterTest.php b/tests/Spout/Writer/ODS/WriterTest.php index 61c1b9e..a9aaa0e 100644 --- a/tests/Spout/Writer/ODS/WriterTest.php +++ b/tests/Spout/Writer/ODS/WriterTest.php @@ -299,17 +299,6 @@ class WriterTest extends TestCase } $this->assertEquals(',', \localeconv()['decimal_point']); - $cellValue = 1234.5; - var_dump("Cell value before: " . $cellValue); - $cellValue = str_replace( - [\localeconv()['thousands_sep'], \localeconv()['decimal_point']], - ['', '.'], - $cellValue - ); - var_dump("Cell value after: " . $cellValue); - var_dump("Thousands sep: " . \localeconv()['thousands_sep']); - var_dump("Decimal point: " . \localeconv()['decimal_point']); - $fileName = 'test_add_row_should_support_float_values_in_different_locale.xlsx'; $dataRows = $this->createRowsFromValues([ [1234.5], diff --git a/tests/Spout/Writer/XLSX/WriterTest.php b/tests/Spout/Writer/XLSX/WriterTest.php index e2a8e4e..26b3792 100644 --- a/tests/Spout/Writer/XLSX/WriterTest.php +++ b/tests/Spout/Writer/XLSX/WriterTest.php @@ -414,16 +414,6 @@ class WriterTest extends TestCase } $this->assertEquals(',', \localeconv()['decimal_point']); - var_dump("Cell value before: " . $valueToWrite); - $cellValue = str_replace( - [\localeconv()['thousands_sep'], \localeconv()['decimal_point']], - ['', '.'], - $valueToWrite - ); - var_dump("Cell value after: " . $cellValue); - var_dump("Thousands sep: " . \localeconv()['thousands_sep']); - var_dump("Decimal point: " . \localeconv()['decimal_point']); - $fileName = 'test_add_row_should_support_float_values_in_different_locale.xlsx'; $dataRows = $this->createRowsFromValues([ [$valueToWrite],