WicketTester can't create new sessions
--------------------------------------

                 Key: WICKET-3212
                 URL: https://issues.apache.org/jira/browse/WICKET-3212
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M3
            Reporter: Major Peter


It looks like currently there is no way to create a new session (e.g. execute 
Application#newSession through WicketTester).
My test case would be something like this:
* create a session
* set a configuration option with a form
* invalidate session
* create new session
* assert that the session#getStyle now returns something else

In wicket-1.4 this was possible with WicketTester#createRequestCycle, but that 
is gone now.

Workaround: create a new WicketTester, which will force to create a new session.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to