Commit | Line | Data |
fe3e42c3 |
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 | |
5ec24151 |
10 | plan tests => 3; |
11 | |
12 | my $warnings; |
13 | my $logger = DeprecatedActionsInAppClassTestApp::Log->new; |
14 | Catalyst->log($logger); |
fe3e42c3 |
15 | |
16 | ok( my $response = request('http://localhost/foo'), 'Request' ); |
17 | ok( $response->is_success, 'Response Successful 2xx' ); |
dbf6a6fc |
18 | is( $DeprecatedActionsInAppClassTestApp::Log::warnings, 1, 'Get the appclass action warning' ); |