diff --git a/app/Models/Transaction.php b/app/Models/Transaction.php index 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.xml index da49035fc3..9448630a43 100644 --- a/phpunit.coverage.specific.xml +++ b/phpunit.coverage.specific.xml @@ -30,12 +30,9 @@ app/Http/breadcrumbs.php - - vendor/ - - + diff --git a/phpunit.coverage.xml b/phpunit.coverage.xml index cfca4f71ee..7a3119d118 100644 --- a/phpunit.coverage.xml +++ b/phpunit.coverage.xml @@ -30,12 +30,9 @@ app/Http/breadcrumbs.php - - vendor/ - - + diff --git a/tests/Unit/Import/Converter/AmountCreditTest.php b/tests/Unit/Import/Converter/AmountCreditTest.php index 351662c164..50741e2b55 100644 --- a/tests/Unit/Import/Converter/AmountCreditTest.php +++ b/tests/Unit/Import/Converter/AmountCreditTest.php @@ -36,7 +36,7 @@ class AmountCreditTest extends TestCase public function testConvert(): void { $values = [ - '0' => '0', + '0' => '0.000000000000', '0.0' => '0', '0.1' => '0.1', '.2' => '0.2',