Implement creating of meta data and tests

This commit is contained in:
James Brooks
2017-06-13 19:34:50 +01:00
parent 63e38a4b2c
commit f11c1edeee
5 changed files with 49 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ class CreateIncidentCommandTest extends AbstractTestCase
'occurred_at' => null,
'template' => null,
'template_vars' => [],
'meta' => [],
];
$object = new CreateIncidentCommand(
@@ -53,7 +54,8 @@ class CreateIncidentCommandTest extends AbstractTestCase
$params['stickied'],
$params['occurred_at'],
$params['template'],
$params['template_vars']
$params['template_vars'],
$params['meta']
);
return compact('params', 'object');