Improve test coverage.

This commit is contained in:
James Cole
2019-07-24 19:02:41 +02:00
parent 226e2f7185
commit ee95606ec0
39 changed files with 378 additions and 234 deletions

View File

@@ -236,6 +236,7 @@ trait ChartGeneration
$chartData[1]['entries'][$label] = round($earned, 12);
$chartData[2]['entries'][$label] = round($sum, 12);
// @codeCoverageIgnoreStart
switch ($step) {
default:
case '1D':
@@ -251,6 +252,7 @@ trait ChartGeneration
$start->addYear();
break;
}
// @codeCoverageIgnoreEnd
}
$data = $generator->multiSet($chartData);