Skip to content
Snippets Groups Projects
Commit f6188e5b authored by tmortagne's avatar tmortagne
Browse files

[misc] Fix deprecated calls and tests

parent cb330cec
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,8 @@ public void testSwitchOrderOfRenderers() throws Exception
assertEquals(groovyFirst, engine.renderText(text, document, getContext()));
xwiki.getConfig().put("xwiki.render.renderingorder", "macromapping, velocity, groovy, plugin, wiki, wikiwiki");
getConfigurationSource().setProperty("xwiki.render.renderingorder",
new String[] {"macromapping", "velocity", "groovy", "plugin", "wiki", "wikiwiki"});
DefaultXWikiRenderingEngine myEngine = new DefaultXWikiRenderingEngine(xwiki, getContext());
......
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