7 use lib "$FindBin::Bin/lib";
10 use Catalyst::Test 'TestAppStats';
12 if ( $ENV{CATALYST_SERVER} ) {
13 plan skip_all => 'Using remote server';
20 ok( my $response = request('http://localhost/'), 'Request' );
21 ok( $response->is_success, 'Response Successful 2xx' );
24 ok( my $response = request('http://localhost/'), 'Request' );
25 ok( $response->is_success, 'Response Successful 2xx' );
26 like( $response->content, qr/\/default.*?[\d.]+s.*- test.*[\d.]+s/s, 'Stats report');