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.t;h=93200a453ad4f1905ad980af7be03968a8c966df;hp=44b781aa66ebf3b3e96f2724a1fe5be4f1bb58de;hb=bb73aedb99734f11a8419f93915b87faf33ac1bf;hpb=8c7199a13b832b6ce5e569320b3620dd38a67617 diff --git a/t/rpc/list.t b/t/rpc/list.t index 44b781a..93200a4 100644 --- a/t/rpc/list.t +++ b/t/rpc/list.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' );