7 use lib "$FindBin::Bin/lib";
9 use Test::More tests => 5;
10 use Catalyst::Test 'IncTestApp';
12 is( $TestLog::logged, "Deprecated 'static' config key used, please use the key 'Plugin::Static::Simple' instead",
16 ok( my $res = request('http://localhost/overlay.jpg'), 'request ok' );
17 is( $res->content_type, 'image/jpeg', 'overlay path ok' );
19 # test passthrough to root
20 ok( $res = request('http://localhost/images/bad.gif'), 'request ok' );
21 is( $res->content_type, 'image/gif', 'root path ok' );