X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Frpc%2Fsetup_dbic_args.t;h=9cb00eb96efa67f178e4fd278bbadc8f9ad459e3;hp=a1615e31ea1e8b91967828082d20a720eec27032;hb=HEAD;hpb=0b0bf9111127c9fdad1e456169ec4cdd15b160f9 diff --git a/t/rpc/setup_dbic_args.t b/t/rpc/setup_dbic_args.t index a1615e3..9cb00eb 100644 --- a/t/rpc/setup_dbic_args.t +++ b/t/rpc/setup_dbic_args.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' );