GraphChartTest: match current implementation
We have more nodes right now as of a graphical hack (white bg)
This commit is contained in:
parent
34417338dd
commit
4513ab2aed
|
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue