Skip to content

Firefly III: a personal finances manager

Expand fix for #1059 [skip ci]

James Cole62a4af8607a4
diff --git a/tests/Unit/Import/Converter/AmountTest.php b/tests/Unit/Import/Converter/AmountTest.php
index a50aa636f3..d1bf70c520 100644
--- a/tests/Unit/Import/Converter/AmountTest.php
+++ b/tests/Unit/Import/Converter/AmountTest.php
@@ -139,6 +139,17 @@ class AmountTest extends TestCase
'63 5212.4440' => '635212.444',
'163 5219.1634567898' => '1635219.1634567898',
'444 163 5219.1634567898' => '4441635219.1634567898',
+ '-0.34918323' => '-0.34918323',
+ '0.208' => '0.208',
+ '-0.15' => '-0.15',
+ '-0.03881677' => '-0.03881677',
+ '0.33' => '0.33',
+ '-0.1' => '-0.1',
+ '0.01124' => '0.01124',
+ '-0.01124' => '-0.01124',
+ '0.115' => '0.115',
+ '-0.115' => '-0.115',
+ '1.33' => '1.33',
];
foreach ($values as $value => $expected) {
$converter = new Amount;