remove unneeded shebangs from tests
[catagits/Catalyst-Runtime.git] / t / unicode_plugin_config.t
CommitLineData
55046410 1use strict;
2use warnings;
3use Test::More;
4
5BEGIN { $ENV{TESTAPP_ENCODING} = 'UTF-8' };
6
7# setup library path
8use FindBin qw($Bin);
9use lib "$Bin/lib";
10
11BEGIN {
1ecc166c 12if ( !eval { require Test::WWW::Mechanize::Catalyst; Test::WWW::Mechanize::Catalyst->VERSION('0.51')} ) {
55046410 13 plan skip_all => 'Need Test::WWW::Mechanize::Catalyst for this test';
14}
15}
16
17# make sure testapp works
18use_ok('TestAppUnicode');
19
20use Test::WWW::Mechanize::Catalyst 'TestAppUnicode';
21my $mech = Test::WWW::Mechanize::Catalyst->new;
22
23{
24 TestAppUnicode->encoding('UTF-8');
25 $mech->get_ok('http://localhost/unicode', 'encoding configured ok');
26}
27
28done_testing;
29