Commit 935a5005 authored by webchick's avatar webchick
Browse files

Issue #2557411 by joelpittet: Remove obsolete reference to SafeMarkup::set()...

Issue #2557411 by joelpittet: Remove obsolete reference to SafeMarkup::set() in LinkGeneratorTest documentation
parent a1a43932
...@@ -372,8 +372,8 @@ public function testGenerateWithHtml() { ...@@ -372,8 +372,8 @@ public function testGenerateWithHtml() {
), $result); ), $result);
// Test that safe HTML is output inside the anchor tag unescaped. The // Test that safe HTML is output inside the anchor tag unescaped. The
// SafeMarkup::set() call is an intentional unit test for the interaction // SafeString::create() call is an intentional unit test for the interaction
// between SafeMarkup and the LinkGenerator. // between SafeStringInterface and the LinkGenerator.
$url = new Url('test_route_5', array()); $url = new Url('test_route_5', array());
$url->setUrlGenerator($this->urlGenerator); $url->setUrlGenerator($this->urlGenerator);
$result = $this->linkGenerator->generate(SafeString::create('<em>HTML output</em>'), $url); $result = $this->linkGenerator->generate(SafeString::create('<em>HTML output</em>'), $url);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment