fixed Server and testapp_server.pl. Test still wonky
[catagits/Catalyst-Runtime.git] / t / TestApp / script / testapp_server.pl
index c25a85e..b4f3ba8 100755 (executable)
@@ -1,6 +1,11 @@
 #!/usr/bin/env perl
 
 use FindBin qw/$Bin/;
+BEGIN { 
+    $ENV{CATALYST_ENGINE} ||= 'HTTP';
+    $ENV{CATALYST_SCRIPT_GEN} = 31;
+    require Catalyst::Engine::HTTP;
+} 
 
 ## because this is a test
 use lib "$Bin/../../../lib";