mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fixed tests.
This commit is contained in:
parent
25d3a115e0
commit
32190db8bb
@ -72,7 +72,7 @@ class ReportQuery implements ReportQueryInterface
|
|||||||
*
|
*
|
||||||
* @return Collection
|
* @return Collection
|
||||||
*/
|
*/
|
||||||
public function expense(Collection $accounts, Carbon $start, Carbon $end): array
|
public function expense(Collection $accounts, Carbon $start, Carbon $end): Collection
|
||||||
{
|
{
|
||||||
$ids = $accounts->pluck('id')->toArray();
|
$ids = $accounts->pluck('id')->toArray();
|
||||||
$set = Auth::user()->transactionjournals()
|
$set = Auth::user()->transactionjournals()
|
||||||
|
@ -155,6 +155,7 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface
|
|||||||
$ruleGroup->order = ($ruleGroup->order - 1);
|
$ruleGroup->order = ($ruleGroup->order - 1);
|
||||||
$ruleGroup->save();
|
$ruleGroup->save();
|
||||||
$this->resetRuleGroupOrder();
|
$this->resetRuleGroupOrder();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user