use inlined module hiding in tests
[catagits/Catalyst-Runtime.git] / t / aggregate / deprecated_test_unimported.t
CommitLineData
75e2d0c5 1use strict;
2use warnings;
3use Test::More;
4use FindBin;
5use lib "$FindBin::Bin/../lib";
6use TestApp;
7use Catalyst::Test ();
8
9{
10 like do {
11 my $warning;
12 local $SIG{__WARN__} = sub { $warning = $_[0] };
13 isa_ok Catalyst::Test::local_request('TestApp', '/'), 'HTTP::Response';
14 $warning;
15 }, qr/deprecated/, 'local_request is deprecated';
16}
17
18done_testing;