Test uri_for with path = 0
[catagits/Catalyst-Runtime.git] / t / aggregate / live_view_warnings.t
CommitLineData
9c74923d 1#!perl
2
3use strict;
4use warnings;
acbecf08 5no warnings 'once';
9c74923d 6
7use FindBin;
8use lib "$FindBin::Bin/../lib";
9
10use Test::More;
11use Catalyst::Test 'TestAppViewWarnings';
12
13if ( $ENV{CATALYST_SERVER} ) {
14 plan skip_all => 'Using remote server';
15}
16
17{
18 ok( my $response = request('http://localhost/'), 'Request' );
19 like($TestAppViewWarnings::log_messages[0], qr/Attempted to use view/s, 'View failure warning received');
20
21}
22
23done_testing;
24