mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-20 03:12:52 -05:00
Host/ServiceNodeTest: adjust tests...
...legacy methods have been removed
This commit is contained in:
parent
60b66e89b0
commit
b256488cba
2 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class ServiceNodeTest extends BaseTestCase
|
|||
$this->assertEquals(
|
||||
'<a href="/icingaweb2/monitoring/service/show?host=localhost&service=ping%20%3C%3E%20pong">'
|
||||
. 'localhost: ping <> pong</a>',
|
||||
$this->pingOnLocalhost()->renderLink(new View())
|
||||
$this->pingOnLocalhost()->getLink()->render()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue