silence warnings in tests
[catagits/Catalyst-Runtime.git] / t / class_traits_CAR_bug.t
index de3e6aa..2e9743b 100644 (file)
@@ -50,6 +50,17 @@ BEGIN {
 
 }
 
+BEGIN {
+  package TestApp::Controller::Root;
+  $INC{'TestApp/Controller/Root.pm'} = __FILE__;
+
+  use Moose;
+
+  BEGIN { extends 'Catalyst::Controller' };
+
+  sub root :Path('/') {}
+}
+
 {
   package TestApp;
   $INC{'TestApp.pm'} = __FILE__;