Clean up TestData

This commit is contained in:
James Cole
2016-02-12 05:29:41 +01:00
parent 2e15f1e2a3
commit 68a7078614
2 changed files with 3 additions and 3 deletions

View File

@@ -417,8 +417,7 @@ class TestData
]
);
if ($journal->id) {
$number = (string)round((rand(1500, 2500) / 100), 2);
$amount = $number;//'10';//strval((rand(1500, 2500) / 100));
$amount = (string)round((rand(1500, 2500) / 100), 2);
self::createTransactions($journal, $fromAccount, $toAccount, $amount);
$journal->categories()->save($category);
$journal->budgets()->save($budget);