X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FAction%2FTestMyAction.pm;fp=t%2Flib%2FTestApp%2FAction%2FTestMyAction.pm;h=77e2caaa9475e7f9164c6e13105d96d3f5d5aec9;hb=5bb1a41514e56f629611b4b9bfc23f7c0ddfa8eb;hp=5a83aee17f4e55b655e2ee9613c46a643a2c7734;hpb=4d38cb074da32815d87f1fb9fe7c03b761fdf15a;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Action/TestMyAction.pm b/t/lib/TestApp/Action/TestMyAction.pm index 5a83aee..77e2caa 100644 --- a/t/lib/TestApp/Action/TestMyAction.pm +++ b/t/lib/TestApp/Action/TestMyAction.pm @@ -9,6 +9,9 @@ sub execute { my $self = shift; my ( $controller, $c, $test ) = @_; $c->res->header( 'X-TestAppActionTestMyAction', 'MyAction works' ); + $c->res->header( 'X-Component-Name-Action', $controller->_component_name); + $c->res->header( 'X-Component-Instance-Name-Action', ref($controller)); + $c->res->header( 'X-Class-In-Action', $self->class); $self->next::method(@_); }