diff --git a/test/php/library/Icinga/Chart/GraphChartTest.php b/test/php/library/Icinga/Chart/GraphChartTest.php index 6a7f73864..9ffdcb66c 100644 --- a/test/php/library/Icinga/Chart/GraphChartTest.php +++ b/test/php/library/Icinga/Chart/GraphChartTest.php @@ -27,7 +27,7 @@ class GraphChartTest extends BaseTestCase $xpath = new DOMXPath($doc); $xpath->registerNamespace('x', 'http://www.w3.org/2000/svg'); $path = $xpath->query('//x:rect[@data-icinga-graph-type="bar"]'); - $this->assertEquals(3, $path->length, 'Assert the correct number of datapoints being drawn as SVG bars'); + $this->assertEquals(6, $path->length, 'Assert the correct number of datapoints being drawn as SVG bars'); } public function testLineChartCreation() @@ -48,4 +48,4 @@ class GraphChartTest extends BaseTestCase $path = $xpath->query('//x:path[@data-icinga-graph-type="line"]'); $this->assertEquals(1, $path->length, 'Assert the correct number of datapoints being drawn as SVG lines'); } -} \ No newline at end of file +}