X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Frest%2Fupdate.t;h=3aa7e49557255420559cf11577e62cae33cda710;hp=2f8be2cf75d54e1a505189ecc31fd7da160b9de6;hb=0cd7ab9e098294b05a42c52d17cd82e961a72d27;hpb=d6993542dd4ef970bd0ab87258306ed970cb98c8 diff --git a/t/rest/update.t b/t/rest/update.t index 2f8be2c..3aa7e49 100644 --- a/t/rest/update.t +++ b/t/rest/update.t @@ -110,7 +110,7 @@ my $tracks_update_url = $track_url; $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}, JSON::Any::false, 'success property returns unquoted false' ); like( $response->{messages}->[0], qr/No object found for id/, 'correct message returned' ); }