initParameters not available when testing via WicketTester
----------------------------------------------------------
Key: WICKET-3099
URL: https://issues.apache.org/jira/browse/WICKET-3099
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.12
Reporter: Eric Le Lay
Please see the attached simple application.
It reads an init-param in web.xml and displays its value in HomePage.
It runs fine (mvn jetty:run) but HomePageTest fails.
I traced it down to org.apache.wicket.protocol.http.MockWebApplication(final
WebApplication application, final String path),
where a dummy FilterConfig is created, which always returns null in
getInitParameter().
How can I set init parameters during tests ?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.