mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
ResultSet::getPoints empty parameters
This commit is contained in:
@@ -40,6 +40,23 @@ EOD;
|
||||
new ResultSet($errorResult);
|
||||
}
|
||||
|
||||
/**
|
||||
* We can get points from measurement
|
||||
*/
|
||||
public function testGetPoints()
|
||||
{
|
||||
$expectedNumberOfPoints = 3;
|
||||
|
||||
$points = $this->resultSet->getPoints();
|
||||
|
||||
$this->assertTrue(
|
||||
is_array($points)
|
||||
);
|
||||
|
||||
$this->assertCount($expectedNumberOfPoints, $points);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* We can get points from measurement
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user