diff --git a/tests/factories/all.php b/tests/factories/all.php index 37c528abb0..133d8adf77 100644 --- a/tests/factories/all.php +++ b/tests/factories/all.php @@ -202,7 +202,10 @@ FactoryMuffin::define( 'FireflyIII\Models\Transaction', [ 'transaction_journal_id' => 'factory|FireflyIII\Models\TransactionJournal', - 'amount' => 'integer', + 'amount' => function () { + return rand(1, 100); + }, + 'description' => 'sentence', 'account_id' => 'factory|FireflyIII\Models\Account' ] );