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=57bdf606dd2d99c23305721516a69b36ee30c09e;hb=a5949bfde189427d34ccd19f15d8656156454936;hpb=257cb2149dd762b4f5af045a7340197296e3e50a diff --git a/t/rpc/setup_dbic_args.t b/t/rpc/setup_dbic_args.t index 57bdf60..9cb00eb 100644 --- a/t/rpc/setup_dbic_args.t +++ b/t/rpc/setup_dbic_args.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' );