[
https://issues.apache.org/jira/browse/TAP5-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777447#action_12777447
]
Joost Schouten commented on TAP5-929:
-------------------------------------
a workaround for now is to use sendRedirect(Link) in your code in stead of
sendRedirect(String url) as this is implemented.
> Implement sendRedirect() for TestableResponseImpl
> -------------------------------------------------
>
> Key: TAP5-929
> URL: https://issues.apache.org/jira/browse/TAP5-929
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-test
> Reporter: Joost Schouten
>
> When running my tests I would like my redirects to work so I can test that
> they redirect to the correct destinations. In my case a SecurityDispatcher
> that manages access rights for different users.
> currently it throws a RuntimeException("TestableResponse: Method sendRedirect
> not yet implemented.") at:
> 059 public void sendRedirect(String URL) throws IOException
> 060 {
> 061 nyi("sendRedirect");
> 062 }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.