Added a test that warnings do get thrown if appclass actions are used.
[catagits/Catalyst-Runtime.git] / t / deprecated_appclass_action_warnings.t
1 use strict;
2 use warnings;
3
4 use FindBin;
5 use lib "$FindBin::Bin/lib";
6
7 use Test::More;
8 use Catalyst::Test 'DeprecatedActionsInAppClassTestApp';
9
10 plan tests => 2;
11
12 ok( my $response = request('http://localhost/foo'), 'Request' );
13 ok( $response->is_success, 'Response Successful 2xx' );