From c93b4b0a245274718438765bf50ec9957a5e472c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 3 Jul 2018 17:11:46 +0200 Subject: [PATCH] IcingaHostTest: missing lazy deps are Runtime ex. --- test/php/library/Director/Objects/IcingaHostTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {