Skip tests that use ctx_request when live
[catagits/Catalyst-Runtime.git] / t / aggregate / live_container_custom_container_nosugar.t
index 79eaff1..4709113 100644 (file)
@@ -2,6 +2,12 @@ use warnings;
 use strict;
 use FindBin '$Bin';
 use lib "$Bin/../lib";
+BEGIN {
+    if ( $ENV{CATALYST_SERVER} ) {
+        plan skip_all => 'This test does not run live';
+        exit 0;
+    }
+}
 use TestCustomContainer;
 
 TestCustomContainer->new(sugar => 0);