5 BEGIN { $ENV{TESTAPP_ENCODING} = 'UTF-8' };
12 if ( !eval { require Test::WWW::Mechanize::Catalyst; Test::WWW::Mechanize::Catalyst->VERSION('0.51')} ) {
13 plan skip_all => 'Need Test::WWW::Mechanize::Catalyst for this test';
17 # make sure testapp works
18 use_ok('TestAppUnicode');
20 use Test::WWW::Mechanize::Catalyst 'TestAppUnicode';
21 my $mech = Test::WWW::Mechanize::Catalyst->new;
24 TestAppUnicode->encoding('UTF-8');
25 $mech->get_ok('http://localhost/unicode', 'encoding configured ok');