X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FEngine%2FResponse%2FCookies.pm;fp=t%2Flib%2FTestApp%2FController%2FEngine%2FResponse%2FCookies.pm;h=884b3268e445ef091c67d1887beb4a142c23d39b;hb=db9407301b748638a6f3b72d459bf7cc74162468;hp=320c2e134fb8c5fcdf95db68b64e34518b95f13b;hpb=38a55e0cf0b70133b1a8369c04e3bc0ee444c4b7;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Engine/Response/Cookies.pm b/t/lib/TestApp/Controller/Engine/Response/Cookies.pm index 320c2e1..884b326 100644 --- a/t/lib/TestApp/Controller/Engine/Response/Cookies.pm +++ b/t/lib/TestApp/Controller/Engine/Response/Cookies.pm @@ -32,4 +32,11 @@ sub three : Local { $c->forward('TestApp::View::Dump::Request'); } +sub four : Local { + my ( $self, $c ) = @_; + $c->res->cookies->{good} = { value => 'good_cookie', path => '/' }; + $c->res->cookies->{bad} = { value => undef }; + $c->forward('TestApp::View::Dump::Request'); +} + 1;