I'm getting the following error when running verifyForward("UserSwitch") and the struts config file has the following global forward defined...
<forward name="UserSwitch" module="/merchantaccount" path="/MerchantAccountFunctionalUserSwitchLoad.do"/>
Error is...
expecting '/MerchantAccountFunctionalUserSwitchLoad.do' but received '/merchantaccount/MerchantAccountFunctionalUserSwitchLoad.do'
Is there a way to get verifyForward() to include the module in it's expected path?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was wanting to use verifyForward() so I wouldn't have a UnitTest with a hard coded value thats needs updated if the path changed in my struts config file. Oh well. Thanks again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm getting the following error when running verifyForward("UserSwitch") and the struts config file has the following global forward defined...
<forward name="UserSwitch" module="/merchantaccount" path="/MerchantAccountFunctionalUserSwitchLoad.do"/>
Error is...
expecting '/MerchantAccountFunctionalUserSwitchLoad.do' but received '/merchantaccount/MerchantAccountFunctionalUserSwitchLoad.do'
Is there a way to get verifyForward() to include the module in it's expected path?
Thanks
try verifyForwardPath() instead?
That worked. Thanks.
I was wanting to use verifyForward() so I wouldn't have a UnitTest with a hard coded value thats needs updated if the path changed in my struts config file. Oh well. Thanks again.
right, that would be the optimal way to go... if it worked :)