Fixed transaction coverage.

This commit is contained in:
James Cole
2015-01-01 22:51:38 +01:00
parent fa1695672a
commit 05ea8216ff
4 changed files with 10 additions and 7 deletions

View File

@@ -5,6 +5,8 @@ League\FactoryMuffin\Facade::define(
'account_id' => 'factory|Account',
'transaction_journal_id' => 'factory|TransactionJournal',
'description' => 'sentence',
'amount' => 'numberBetween:1,100',
'amount' => function() {
return round(rand(100,10000) / 100,2);
}
]
);