Menu

#77 verifyForward succeeds for any valid Forward

closed-duplicate
nobody
None
5
2005-07-21
2005-06-23
Tim P
No

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.

Discussion

  • Deryl Seale

    Deryl Seale - 2005-07-21
    • status: open --> closed-duplicate
     
  • Deryl Seale

    Deryl Seale - 2005-07-21

    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.

     

Log in to post a comment.