added cgi_file_pattern option
[catagits/Catalyst-Controller-WrapCGI.git] / t / lib / TestCGIBin.pm
index a29e685..e9caa54 100644 (file)
@@ -3,6 +3,12 @@ package TestCGIBin;
 use Catalyst::Runtime '5.70';
 use parent 'Catalyst';
 
-__PACKAGE__->setup;
+__PACKAGE__->config({
+    Controller::CGIHandler => {
+        cgi_file_pattern => ['*.sh', qr/\.pl\z/]
+    },
+});
+
+__PACKAGE__->setup(qw/Static::Simple/);
 
 1;