mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaHostTest: remove obsolete workaround
This commit is contained in:
parent
e96db8b296
commit
89f86abdda
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user