Subject: | Failed test due to changes in Catalyst::Runtime |
In version 5.90013 - TRIAL 2012-06-07 20:21:00, Catalyst::Runtime merged
Catalyst::Controller::ActionRole into Catalyst::Controller that make the
test the rely on Catalyst::Controller::ActionRole to fail because they
don't find the class.
I'm attaching a possible patch for this ...
Kind Regards!
Subject: | use_new_catalyst_controller.patch |
--- a/t/lib/TestCanVisit/Controller/Root.pm
+++ b/t/lib/TestCanVisit/Controller/Root.pm
@@ -2,7 +2,7 @@
use Moose;
use namespace::autoclean;
-BEGIN { extends 'Catalyst::Controller::ActionRole' };
+BEGIN { extends 'Catalyst::Controller' };
__PACKAGE__->config(namespace => q{});
--- a/t/lib/TestApp/Controller/Root.pm
+++ b/t/lib/TestApp/Controller/Root.pm
@@ -2,7 +2,7 @@
use Moose;
use namespace::autoclean;
-BEGIN { extends 'Catalyst::Controller::ActionRole' };
+BEGIN { extends 'Catalyst::Controller' };
__PACKAGE__->config(namespace => q{});
--- a/t/lib/TestChained/Controller/Root.pm
+++ b/t/lib/TestChained/Controller/Root.pm
@@ -2,7 +2,7 @@
use Moose;
use namespace::autoclean;
-BEGIN { extends 'Catalyst::Controller::ActionRole' };
+BEGIN { extends 'Catalyst::Controller' };
my $msg = '';