X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frpc%2Flist_search_allows.t;h=474242191a69105291e42d8e9c5e0ef787895558;hb=25ce7b1d85074f74f5ffabff2fb7e36772ca6a79;hp=28bbdafcb690afac052e77eab8c24326929db883;hpb=0b0bf9111127c9fdad1e456169ec4cdd15b160f9;p=catagits%2FCatalyst-Controller-DBIC-API.git diff --git a/t/rpc/list_search_allows.t b/t/rpc/list_search_allows.t index 28bbdaf..4742421 100644 --- a/t/rpc/list_search_allows.t +++ b/t/rpc/list_search_allows.t @@ -1,5 +1,3 @@ -use 5.6.0; - use strict; use warnings; @@ -13,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' );