Adds the ability to set the default view in which to display metrics
This commit is contained in:
@@ -36,6 +36,7 @@ class AddMetricCommandTest extends AbstractTestCase
|
||||
'calc_type' => 0,
|
||||
'display_chart' => 1,
|
||||
'places' => 0,
|
||||
'default_view' => 0,
|
||||
];
|
||||
|
||||
$object = new AddMetricCommand(
|
||||
@@ -45,7 +46,8 @@ class AddMetricCommandTest extends AbstractTestCase
|
||||
$params['default_value'],
|
||||
$params['calc_type'],
|
||||
$params['display_chart'],
|
||||
$params['places']
|
||||
$params['places'],
|
||||
$params['default_view']
|
||||
);
|
||||
|
||||
return compact('params', 'object');
|
||||
|
||||
Reference in New Issue
Block a user