Skip to content
Snippets Groups Projects
Commit 77d563b8 authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

XWIKI-12920: Hiding WebHome in wiki link syntax

* update test
parent 3d446555
No related branches found
No related tags found
No related merge requests found
......@@ -225,7 +225,7 @@ public void testGetRenderedTitleWithoutTitleHTML()
this.mockXWiki.stubs().method("getURL").will(returnValue("/reference"));
assertEquals("<span class=\"wikicreatelink\"><a href=\"/reference\"><span class=\"wikigeneratedlinkcontent\">"
+ "WebHome" + "</span></a></span>", this.document.getRenderedTitle(Syntax.XHTML_1_0, getContext()));
+ "Page" + "</span></a></span>", this.document.getRenderedTitle(Syntax.XHTML_1_0, getContext()));
this.document.setContent("content not in section\n" + "= #set($var ~= \"value\")=\nheader 1 content\n"
+ "== header 2==\nheader 2 content");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment