mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Better factory.
This commit is contained in:
parent
6d3a9bfd18
commit
eb090f7265
@ -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'
|
||||
]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user