Changelog for r11037
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Action / TestMyAction.pm
index 66bcdf9..77e2caa 100644 (file)
@@ -9,7 +9,10 @@ sub execute {
     my $self = shift;
     my ( $controller, $c, $test ) = @_;
     $c->res->header( 'X-TestAppActionTestMyAction', 'MyAction works' );
-    $self->NEXT::execute(@_);
+    $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(@_);
 }
 
 1;