X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp.pm;h=83eb94299b57036c8314bb3d0b38f4aeaec53915;hp=f18228cbc7b605f1822ea8a2f28163f7df15be94;hb=9bfaf006d5c1cde4938a32e97e1cc58f1c5befa4;hpb=686a890ee17264e0595954f450e625b11eb79ae5 diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index f18228c..83eb942 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -72,6 +72,11 @@ sub class_forward_test_method :Private { $c->response->headers->header( 'X-Class-Forward-Test-Method' => 1 ); } +sub class_go_test_method :Private { + my ( $self, $c ) = @_; + $c->response->headers->header( 'X-Class-Go-Test-Method' => 1 ); +} + sub loop_test : Local { my ( $self, $c ) = @_; @@ -98,4 +103,4 @@ use strict; use base qw/Catalyst::Base Class::Data::Inheritable/; -1; \ No newline at end of file +1;