Fixed tests.

This commit is contained in:
James Cole 2016-04-06 21:05:43 +02:00
parent 25d3a115e0
commit 32190db8bb
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class ReportQuery implements ReportQueryInterface
*
* @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();
$set = Auth::user()->transactionjournals()

View File

@ -155,6 +155,7 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface
$ruleGroup->order = ($ruleGroup->order - 1);
$ruleGroup->save();
$this->resetRuleGroupOrder();
return true;
}
/**