Hi Miguel:
How did you generate the error message?
(A)Did you add the message key to the action errors, like:
this.addActionError(error.authorisation);
(B)or did you retrieve the message text by the key, then add the text
to the action errors, like:
Dear all,
I am unit-testing an application under the skin using
SpringStrutsTestCase as base (actually, things are a bit more
complicated because I'm doing it from Cucumber, but that's another
story).
How do you get the value of your message from within the test? The
assertion I'm trying is:
2 matches
Mail list logo