X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frpc%2Fdelete.t;h=877168b685da1bdf95ea8e67580bbd6a870a363a;hb=be23c445e84d879534218be5470e57eed3df9448;hp=ffd649a319bf10250f540186485a7ad4161d9036;hpb=0b0bf9111127c9fdad1e456169ec4cdd15b160f9;p=catagits%2FCatalyst-Controller-DBIC-API.git diff --git a/t/rpc/delete.t b/t/rpc/delete.t index ffd649a..877168b 100644 --- a/t/rpc/delete.t +++ b/t/rpc/delete.t @@ -1,5 +1,3 @@ -use 5.6.0; - use strict; use warnings; @@ -13,9 +11,9 @@ use DBICTest; 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' );