X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Frpc%2Flist_json_search.t;h=dab6b7e5a424243980202dca38c0c83578908e5b;hp=e8db665b6a377abed485477bc24b885bc7174118;hb=HEAD;hpb=a5bf6db237f004118bb8743ac941458946b21473 diff --git a/t/rpc/list_json_search.t b/t/rpc/list_json_search.t index e8db665..dab6b7e 100644 --- a/t/rpc/list_json_search.t +++ b/t/rpc/list_json_search.t @@ -11,9 +11,9 @@ use URI; use Test::More; use Test::WWW::Mechanize::Catalyst 'RestTest'; use HTTP::Request::Common; -use JSON; +use JSON::MaybeXS; -my $json = JSON->new->utf8; +my $json = JSON::MaybeXS->new(utf8 => 1); my $mech = Test::WWW::Mechanize::Catalyst->new; ok( my $schema = DBICTest->init_schema(), 'got schema' );