IcingaHostTest: missing lazy deps are Runtime ex.

This commit is contained in:
Thomas Gelf 2018-07-03 17:11:46 +02:00
parent f2e6f86d8e
commit c93b4b0a24

View File

@ -256,7 +256,7 @@ class IcingaHostTest extends BaseTestCase
} }
/** /**
* @expectedException \Icinga\Exception\NotFoundError * @expectedException \RuntimeException
*/ */
public function testFailsToStoreWithMissingLazyRelations() public function testFailsToStoreWithMissingLazyRelations()
{ {
@ -337,7 +337,7 @@ class IcingaHostTest extends BaseTestCase
} }
/** /**
* @expectedException \Icinga\Exception\NotFoundError * @expectedException \RuntimeException
*/ */
public function testFailsToStoreWithInvalidUnresolvedDependencies() public function testFailsToStoreWithInvalidUnresolvedDependencies()
{ {