From 4513ab2aed84c34a37bbb570389a33cee31dc91a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 4 Sep 2014 17:55:12 +0200 Subject: [PATCH] GraphChartTest: match current implementation We have more nodes right now as of a graphical hack (white bg) --- test/php/library/Icinga/Chart/GraphChartTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}