mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 12:45:30 +00:00
Improve test coverage.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user