IcingaHostTest: remove obsolete workaround

This commit is contained in:
Thomas Gelf 2016-10-09 13:15:51 +00:00
parent e96db8b296
commit 89f86abdda

View File

@ -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()