mark some tests as requiring no preloads when run with yath
[catagits/Catalyst-Runtime.git] / t / deprecated_appclass_action_warnings.t
CommitLineData
fe3e42c3 1use strict;
2use warnings;
3
4use FindBin;
5use lib "$FindBin::Bin/lib";
6
7use Test::More;
8use Catalyst::Test 'DeprecatedActionsInAppClassTestApp';
9
5ec24151 10plan tests => 3;
11
12my $warnings;
13my $logger = DeprecatedActionsInAppClassTestApp::Log->new;
14Catalyst->log($logger);
fe3e42c3 15
16ok( my $response = request('http://localhost/foo'), 'Request' );
17ok( $response->is_success, 'Response Successful 2xx' );
88e5a8b0 18is( $DeprecatedActionsInAppClassTestApp::Log::warnings, 1, 'Get the appclass action warning' );