X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive_stats.t;h=48bffd17e9c219437d9e0bf687110a457b5f0458;hp=ff7fca843eaf40bd6ec19e1bfd3b9f900063f452;hb=b6b1bcadec1d2253d97125c0a20bf0a452850566;hpb=890e8d185c593f64f2c11a5d01fd110382cbd2a9 diff --git a/t/live_stats.t b/t/live_stats.t index ff7fca8..48bffd1 100644 --- a/t/live_stats.t +++ b/t/live_stats.t @@ -6,9 +6,16 @@ use warnings; use FindBin; use lib "$FindBin::Bin/lib"; -use Test::More tests => 5; +use Test::More; use Catalyst::Test 'TestAppStats'; +if ( $ENV{CATALYST_SERVER} ) { + plan skip_all => 'Using remote server'; +} +else { + plan tests => 5; +} + { ok( my $response = request('http://localhost/'), 'Request' ); ok( $response->is_success, 'Response Successful 2xx' );