Fix tests

This commit is contained in:
James Cole
2018-04-27 11:29:09 +02:00
parent 28bcff99f6
commit bb25132865
20 changed files with 81 additions and 118 deletions

View File

@@ -303,7 +303,7 @@ class RuleController extends Controller
{
$ids = $request->get('actions');
if (\is_array($ids)) {
$this->ruleGroupRepos->reorderRuleActions($rule, $ids);
$this->ruleRepos->reorderRuleActions($rule, $ids);
}
return response()->json('true');
@@ -320,7 +320,7 @@ class RuleController extends Controller
{
$ids = $request->get('triggers');
if (\is_array($ids)) {
$this->ruleGroupRepos->reorderRuleTriggers($rule, $ids);
$this->ruleRepos->reorderRuleTriggers($rule, $ids);
}
return response()->json('true');