projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a250d69
)
Skip tests that use ctx_request when live
Tomas Doran [Mon, 6 Feb 2012 23:03:06 +0000 (23:03 +0000)]
t/aggregate/live_container_custom_container_nosugar.t
patch
|
blob
|
blame
|
history
t/aggregate/live_container_custom_container_sugar.t
patch
|
blob
|
blame
|
history
diff --git
a/t/aggregate/live_container_custom_container_nosugar.t
b/t/aggregate/live_container_custom_container_nosugar.t
index
79eaff1
..
4709113
100644
(file)
--- a/
t/aggregate/live_container_custom_container_nosugar.t
+++ b/
t/aggregate/live_container_custom_container_nosugar.t
@@
-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);
diff --git
a/t/aggregate/live_container_custom_container_sugar.t
b/t/aggregate/live_container_custom_container_sugar.t
index
0a6ee67
..
662e3dd
100644
(file)
--- a/
t/aggregate/live_container_custom_container_sugar.t
+++ b/
t/aggregate/live_container_custom_container_sugar.t
@@
-2,6
+2,13
@@
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 => 1);