From b43669e73125898ede568df20615e73164a7732d Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 1 Jul 2018 10:32:27 +0200 Subject: [PATCH] Update amount test codes. --- .travis.yml | 1 - tests/Unit/Import/Converter/AmountCreditTest.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 100fc61eeb..1fe8d640bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,6 @@ install: - cp .env.testing .env - php artisan clear-compiled - php artisan env - - cp .env.testing .env - wget -q https://github.com/firefly-iii/test-data/raw/master/storage/database.sqlite -O storage/database/database.sqlite - mkdir -p build/logs diff --git a/tests/Unit/Import/Converter/AmountCreditTest.php b/tests/Unit/Import/Converter/AmountCreditTest.php index 17ae55727e..97658730cd 100644 --- a/tests/Unit/Import/Converter/AmountCreditTest.php +++ b/tests/Unit/Import/Converter/AmountCreditTest.php @@ -36,8 +36,8 @@ class AmountCreditTest extends TestCase public function testConvert(): void { $values = [ - '0' => '0.000000000000', - '0.0' => '0.000000000000', + '0' => '0', + '0.0' => '0', '0.1' => '0.1', '.2' => '0.2', '0.01' => '0.01',