stop using Moo as a test package
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Inheritance.pm
index bed68e4..9d9fa45 100644 (file)
@@ -70,13 +70,17 @@ sub end : Private {
     my ( $self, $c ) = @_;
 }
 
-package TestApp::Controller::Action::Inheritance::Chained;
+package TestApp::Controller::Action::Inheritance::B;
 
 use strict;
-use base qw/TestApp::ControllerBase::Middle TestApp::ControllerBase::RealMiddle/;
-
-sub chain_first : CaptureArgs(0) PathPart('') Chained('chain_root') {}
+use base 'TestApp::Controller::Action';
 
+# check configuration for an inherited action
+__PACKAGE__->config(
+    action => {
+        begin => {}
+    }
+);
 
 1;