diff --git a/test/php/library/Director/Objects/IcingaHostTest.php b/test/php/library/Director/Objects/IcingaHostTest.php index ef3cbb80..b4902bf9 100644 --- a/test/php/library/Director/Objects/IcingaHostTest.php +++ b/test/php/library/Director/Objects/IcingaHostTest.php @@ -256,7 +256,7 @@ class IcingaHostTest extends BaseTestCase } /** - * @expectedException \Icinga\Exception\NotFoundError + * @expectedException \RuntimeException */ public function testFailsToStoreWithMissingLazyRelations() { @@ -337,7 +337,7 @@ class IcingaHostTest extends BaseTestCase } /** - * @expectedException \Icinga\Exception\NotFoundError + * @expectedException \RuntimeException */ public function testFailsToStoreWithInvalidUnresolvedDependencies() {