Unicode plugin: import tests and update current ones
[catagits/Catalyst-Runtime.git] / t / lib / TestApp2.pm
CommitLineData
55046410 1package TestApp2;
2use strict;
3use warnings;
4use base qw/Catalyst/;
5use Catalyst qw/Params::Nested/;
6
7__PACKAGE__->config(
8 encoding => $ENV{TESTAPP_ENCODING}
9) if $ENV{TESTAPP_ENCODING};
10
11__PACKAGE__->config('name' => 'TestApp2');
12
13__PACKAGE__->setup;
14
15sub handle_unicode_encoding_exception {
16 my ( $self, $param_value, $error_msg ) = @_;
17 return $param_value;
18}
19
201;