mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-05 05:33:36 +00:00
After pulling the code from @hamuz I realised the test was disabled. So I enabled it again. I had to change two test results. One was a 0 value not being negative, the other was due to the 12 decimal cut off (Firefly III configuration).
This commit is contained in:
@@ -180,7 +180,7 @@ class AmountCreditTest extends TestCase
|
||||
foreach ($values as $value => $expected) {
|
||||
$converter = new AmountCredit;
|
||||
$result = $converter->convert($value);
|
||||
//$this->assertEquals($expected, $result, sprintf('The original value was %s, expected was %s', $value, $expected));
|
||||
$this->assertEquals($expected, $result, sprintf('The original value was %s, expected was %s', $value, $expected));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user