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;fp=t%2Frest%2Flist.t;h=733753107a2f78caa95c05ea7fa9b9fff97da6d8;hp=3afd448daadebfd51f3ae8492fd1ae0e42391ca5;hb=c2a3a0b3cb58c6417fcbd9a6a392744c82dc64cc;hpb=33a4e523181d12869b80a659c75a4fa90853afd3 diff --git a/t/rest/list.t b/t/rest/list.t index 3afd448..7337531 100644 --- a/t/rest/list.t +++ b/t/rest/list.t @@ -203,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' ); }