IcingaServiceSetTest: do not call another test...

...from a test
This commit is contained in:
Thomas Gelf 2017-08-27 19:03:44 +02:00
parent c2afacc11b
commit 95a971975d

View File

@ -64,7 +64,10 @@ class IcingaServiceSetTest extends IcingaObjectTestCase
public function testDeletingHostWithSet()
{
$this->testAddingSetToHost();
$this->createObject('for_set', 'icinga_host', array(
'object_type' => 'object',
'address' => '1.2.3.4',
));
$host = $this->loadObject('for_set', 'icinga_host');
$host->delete();