Adds the ability to set the default view in which to display metrics

This commit is contained in:
James Brooks
2015-12-26 16:43:22 +00:00
parent 0d406b8360
commit 1c27cf7360
16 changed files with 152 additions and 28 deletions
@@ -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');