X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FRoot.pm;h=e5137e03992c108b41bd3b2f927db543b367b210;hb=f3a49d84c2fd58d504b1147de03e8da7a00fd755;hp=c1bd6d522ef93a6557a3af352c0663560afd42ae;hpb=421ae538d57b94e03b27d1b7fab0e4528d3b46e8;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Root.pm b/t/lib/TestApp/Controller/Root.pm index c1bd6d5..e5137e0 100644 --- a/t/lib/TestApp/Controller/Root.pm +++ b/t/lib/TestApp/Controller/Root.pm @@ -91,6 +91,13 @@ sub test_redirect :Global { $c->res->redirect('/go_here'); } +sub test_redirect_uri_for :Global { + my ($self, $c) = @_; + # Don't set content_type + # Don't set body + $c->res->redirect($c->uri_for('/go_here')); +} + sub test_redirect_with_contenttype :Global { my ($self, $c) = @_; # set content_type but don't set body