The test below passes:
public void testLoginActionWithPassword() throws
Exception {
setRequestPathInfo("/login");
addRequestParameter("username","tester2@test.com");
addRequestParameter("password","tester2");
actionPerform();
verifyForward("login");
verifyForward("loginSuccess");
verifyForward("passwordChange");
verifyNoActionErrors();
}
when the ActionForward being returned is actually
"loginSucess".
Using Struts 1.1 and strutstest-2.1.3
No doubt this I have made an oversight,
thanks for your time.
Logged In: YES
user_id=366284
This is due to the problem with Tiles definitions sharing
the base path. This is already logged as another bug.