Incident templates cleanup (#2182)
Clean up Incident Templates, supply incident array to them by default
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user