X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Frest%2Flist.t;h=733753107a2f78caa95c05ea7fa9b9fff97da6d8;hp=acb8872fa5bc09bb3787b240bd98b71f97663b43;hb=c2a3a0b3cb58c6417fcbd9a6a392744c82dc64cc;hpb=0b0bf9111127c9fdad1e456169ec4cdd15b160f9 diff --git a/t/rest/list.t b/t/rest/list.t index acb8872..7337531 100644 --- a/t/rest/list.t +++ b/t/rest/list.t @@ -1,5 +1,3 @@ -use 5.6.0; - use strict; use warnings; @@ -205,7 +203,7 @@ my $track_list_url = "$base/api/rest/track"; } $schema->resultset('Track')->search( undef, { page => 1, } )->all; is_deeply( $response, - { list => \@expected_response, success => 'true', totalcount => 15 }, + { list => \@expected_response, success => JSON::true, totalcount => 15 }, 'correct data returned for static configured paging' ); }