diff --git a/test/php/library/Director/Objects/IcingaHostTest.php b/test/php/library/Director/Objects/IcingaHostTest.php index b8705b07..861bd731 100644 --- a/test/php/library/Director/Objects/IcingaHostTest.php +++ b/test/php/library/Director/Objects/IcingaHostTest.php @@ -382,15 +382,12 @@ class IcingaHostTest extends BaseTestCase $host->object_type = 'template'; $host->zone_id = null; - // TODO: this should happen automagically - $host->invalidateResolveCache(); $config = new IcingaConfig($db); $host->renderToConfig($config); $this->assertEquals( array('zones.d/director-global/host_templates.conf'), $config->getFileNames() ); - } public function testWhetherTwoHostsCannotBeStoredWithTheSameApiKey()