IcingaServiceSetTest: IcingaException is enough

This commit is contained in:
Thomas Gelf 2017-08-28 06:02:12 +02:00
parent 20fe291433
commit 18d171991e

View File

@ -107,13 +107,10 @@ class IcingaServiceSetTest extends IcingaObjectTestCase
}
/**
* @expectedException \Icinga\Exception\ProgrammingError
* @expectedException \Icinga\Exception\IcingaException
*/
public function testCreatingSetWithoutType()
{
// TODO: fix error
$this->markTestIncomplete('Throws a database error, not a proper exception!');
$set = IcingaServiceSet::create(array(
'object_name' => '___TEST__set_BAD',
));