mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -36,11 +36,9 @@ class RrdDefinitionTest extends TestCase
|
||||
$this->assertEmpty((string)new RrdDefinition());
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException \LibreNMS\Exceptions\InvalidRrdTypeException
|
||||
*/
|
||||
public function testWrongType()
|
||||
{
|
||||
$this->expectException(\LibreNMS\Exceptions\InvalidRrdTypeException::class);
|
||||
Config::set('rrd.step', 300);
|
||||
Config::set('rrd.heartbeat', 600);
|
||||
$def = new RrdDefinition();
|
||||
|
Reference in New Issue
Block a user