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_prefetch.t;h=3c8b1a45a3140899a65ffd67ca9ab7cf6d5cd7a6;hp=118bdc356aac6265be56d116ea62d4138a3bd89a;hb=a5949bfde189427d34ccd19f15d8656156454936;hpb=a5bf6db237f004118bb8743ac941458946b21473 diff --git a/t/rpc/list_prefetch.t b/t/rpc/list_prefetch.t index 118bdc3..3c8b1a4 100644 --- a/t/rpc/list_prefetch.t +++ b/t/rpc/list_prefetch.t @@ -11,9 +11,9 @@ use URI; use Test::More tests => 17; 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' );