Host/ServiceNodeTest: adjust tests...

...legacy methods have been removed
This commit is contained in:
Thomas Gelf 2016-11-29 00:36:05 +01:00
parent 60b66e89b0
commit b256488cba
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ class HostNodeTest extends BaseTestCase
$this->assertEquals(
'<a href="/icingaweb2/monitoring/host/show?host=localhost">'
. 'localhost</a>',
$this->localhost()->renderLink(new View())
$this->localhost()->getLink()->render()
);
}

View file

@ -38,7 +38,7 @@ class ServiceNodeTest extends BaseTestCase
$this->assertEquals(
'<a href="/icingaweb2/monitoring/service/show?host=localhost&amp;service=ping%20%3C%3E%20pong">'
. 'localhost: ping &lt;&gt; pong</a>',
$this->pingOnLocalhost()->renderLink(new View())
$this->pingOnLocalhost()->getLink()->render()
);
}