GraphChartTest: match current implementation

We have more nodes right now as of a graphical hack (white bg)
This commit is contained in:
Thomas Gelf 2014-09-04 17:55:12 +02:00
parent 34417338dd
commit 4513ab2aed
1 changed files with 2 additions and 2 deletions

View File

@ -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');
}
}
}