X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Frpc%2Fupdate.t;fp=t%2Frpc%2Fupdate.t;h=37bdbe94465a32983f4107ab2f61ccd71103d8ea;hp=cbe7eabe84bcea15f6958a1adb3d0d813e416b2f;hb=0cd7ab9e098294b05a42c52d17cd82e961a72d27;hpb=d6993542dd4ef970bd0ab87258306ed970cb98c8 diff --git a/t/rpc/update.t b/t/rpc/update.t index cbe7eab..37bdbe9 100644 --- a/t/rpc/update.t +++ b/t/rpc/update.t @@ -156,7 +156,7 @@ my $tracks_update_url = "$base/api/rpc/track/update"; $mech->request($req); cmp_ok( $mech->status, '==', 400, 'Attempt to update three nonexisting tracks fails' ); my $response = JSON::Any->Load( $mech->content); - is( $response->{success}, JSON::Any::false, 'success property returns false' ); + is( $response->{success}, 'false', 'success property returns quoted false' ); like( $response->{messages}->[0], qr/No object found for id/, 'correct message returned' ); }