projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
silence warnings in tests
[catagits/Catalyst-Runtime.git]
/
t
/
class_traits_CAR_bug.t
diff --git
a/t/class_traits_CAR_bug.t
b/t/class_traits_CAR_bug.t
index
de3e6aa
..
2e9743b
100644
(file)
--- a/
t/class_traits_CAR_bug.t
+++ b/
t/class_traits_CAR_bug.t
@@
-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__;