Hi,

Upgrading wicket from 1.5-RC4.2 to 1.5-RC5.1 make my Junit Test down with the error 'Page expired'

/**
 * Simple test using the WicketTester
 */
public class TestHomePage
{
    private WicketTester tester;

    @Before
    public void setUp()
    {
        tester = new WicketTester(new MyApplication());
    }

    @Test
    public void homepageRendersSuccessfully()
    {
        //start and render the test page
        tester.startPage(WelcomePage.class);

        //assert rendered page class
        tester.assertRenderedPage(RedirectPage.class);
    }
}

My application use a CASPageAuthorizationStrategy inspired of http://www.lunikon.net/2009/11/24/integrating-cas-and-wicket/


Kind Regards

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to