Incident templates cleanup (#2182)

Clean up Incident Templates, supply incident array to them by default
This commit is contained in:
James Brooks
2016-10-14 08:03:19 +01:00
committed by GitHub
parent c2153512d9
commit fe96a00b82
14 changed files with 124 additions and 157 deletions
@@ -39,7 +39,7 @@ class ReportIncidentCommandTest extends AbstractTestCase
'stickied' => false,
'incident_date' => null,
'template' => null,
'template_vars' => null,
'template_vars' => [],
];
$object = new ReportIncidentCommand(
@@ -41,7 +41,7 @@ class UpdateIncidentCommandTest extends AbstractTestCase
'stickied' => false,
'incident_date' => null,
'template' => null,
'template_vars' => null,
'template_vars' => [],
];
$object = new UpdateIncidentCommand(