mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-03 04:36:44 +00:00
Improve test coverage.
This commit is contained in:
@@ -53,7 +53,7 @@ class ClearBudget implements ActionInterface
|
||||
$journal->budgets()->detach();
|
||||
$journal->touch();
|
||||
|
||||
// also remove categories from transactions:
|
||||
// also remove budgets from transactions (although no longer necessary)
|
||||
/** @var Transaction $transaction */
|
||||
foreach ($journal->transactions as $transaction) {
|
||||
$transaction->budgets()->detach();
|
||||
|
||||
Reference in New Issue
Block a user