On 12/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > well looks like you are expecting main page but getting a login? so your > auth strategy is redirecting, thus the test fails > But for the unit test session, I already did below:
public static class Tester extends WicketTester { @Override protected ISessionFactory getSessionFactory() { return new ISessionFactory() { public Session newSession() { com.genuco.util.component.Session session = new com.component.Session(Tester.this); session.setAuthenticated(true); return session; } }; } } So the auth should be bypassed, do you have any idea that why I still getting this error? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user