From 18d171991e2e83e01e4651569573bcfae77368a2 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 28 Aug 2017 06:02:12 +0200 Subject: [PATCH] IcingaServiceSetTest: IcingaException is enough --- test/php/library/Director/Objects/IcingaServiceSetTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/php/library/Director/Objects/IcingaServiceSetTest.php b/test/php/library/Director/Objects/IcingaServiceSetTest.php index c1cb817d..c7fc05d0 100644 --- a/test/php/library/Director/Objects/IcingaServiceSetTest.php +++ b/test/php/library/Director/Objects/IcingaServiceSetTest.php @@ -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', ));