X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp%2FAction%2FTestMyAction.pm;h=1240b0e5f5ee11cd62b00e9a524954e4790652dd;hp=5a83aee17f4e55b655e2ee9613c46a643a2c7734;hb=8f6cebb2303a0b0eda9422430f926c3f83c72aed;hpb=dbb2d5cd1b69209e53eb204e7451d688327b2e11 diff --git a/t/lib/TestApp/Action/TestMyAction.pm b/t/lib/TestApp/Action/TestMyAction.pm index 5a83aee..1240b0e 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->catalyst_component_name); + $c->res->header( 'X-Component-Instance-Name-Action', ref($controller)); + $c->res->header( 'X-Class-In-Action', $self->class); $self->next::method(@_); }