Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Update test code.
James Colece236284f488
diff --git a/app/Models/Transaction.php b/app/Models/Transaction.phpindex e14402137f..5d4721becb 100644--- a/app/Models/Transaction.php+++ b/app/Models/Transaction.php@@ -77,6 +77,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;* @property string $amount* @property string $foreign_amount* @property TransactionJournal $transactionJournal+ * @property Account $account*/class Transaction extends Model{diff --git a/phpunit.coverage.specific.xml b/phpunit.coverage.specific.xmlindex da49035fc3..9448630a43 100644--- a/phpunit.coverage.specific.xml+++ b/phpunit.coverage.specific.xml@@ -30,12 +30,9 @@<file>app/Http/breadcrumbs.php</file></exclude></whitelist>- <blacklist>- <directory>vendor/</directory>- </blacklist></filter><logging>- <log type="coverage-clover" target="./storage/build/clover-specific.xml" charset="UTF-8"/>+ <log type="coverage-clover" target="./storage/build/clover-specific.xml" /></logging><php><env name="APP_ENV" value="testing"/>diff --git a/phpunit.coverage.xml b/phpunit.coverage.xmlindex cfca4f71ee..7a3119d118 100644--- a/phpunit.coverage.xml+++ b/phpunit.coverage.xml@@ -30,12 +30,9 @@<file>app/Http/breadcrumbs.php</file></exclude></whitelist>- <blacklist>- <directory>vendor/</directory>- </blacklist></filter><logging>- <log type="coverage-clover" target="./storage/build/clover-all.xml" charset="UTF-8"/>+ <log type="coverage-clover" target="./storage/build/clover-all.xml" /></logging><php><env name="APP_ENV" value="testing"/>diff --git a/tests/Unit/Import/Converter/AmountCreditTest.php b/tests/Unit/Import/Converter/AmountCreditTest.phpindex 351662c164..50741e2b55 100644--- a/tests/Unit/Import/Converter/AmountCreditTest.php+++ b/tests/Unit/Import/Converter/AmountCreditTest.php@@ -36,7 +36,7 @@ class AmountCreditTest extends TestCasepublic function testConvert(): void{$values = [- '0' => '0',+ '0' => '0.000000000000','0.0' => '0','0.1' => '0.1','.2' => '0.2',