Hi all,
I have a case where I need to assert a certain http status code from a
Wicket page. The status code is set by throwing an
AbortWithWebErrorCodeException since I want to display an error
message.

I have tried checking the
WicketTester#getServletResponse().getStatus() but it remains on 200
although my exception tries to set it to 400.

Wicket version is 1.3.5.

Anyone experienced anything similar?

Brgds,
Magnus Forsberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to