mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +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->object_type = 'template';
|
||||||
$host->zone_id = null;
|
$host->zone_id = null;
|
||||||
|
|
||||||
// TODO: this should happen automagically
|
|
||||||
$host->invalidateResolveCache();
|
|
||||||
$config = new IcingaConfig($db);
|
$config = new IcingaConfig($db);
|
||||||
$host->renderToConfig($config);
|
$host->renderToConfig($config);
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
array('zones.d/director-global/host_templates.conf'),
|
array('zones.d/director-global/host_templates.conf'),
|
||||||
$config->getFileNames()
|
$config->getFileNames()
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testWhetherTwoHostsCannotBeStoredWithTheSameApiKey()
|
public function testWhetherTwoHostsCannotBeStoredWithTheSameApiKey()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user