mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
IcingaServiceSetTest: IcingaException is enough
This commit is contained in:
parent
20fe291433
commit
18d171991e
@ -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',
|
||||
));
|
||||
|
Loading…
x
Reference in New Issue
Block a user