PerlDancer/Dancer2-Plugin-REST

Dancer2-Plugin-REST-0.25 from CPAN test fails on Debian 8.0 (perl V5.21.8)

grubert65 opened this issue · 0 comments

Hi:
cpan Dancer2::Plugin::REST fails with this report:

t/000-report-versions-tiny.t .......... ok
t/02_prepare_serializer_for_format.t .. 1/10
-# Failed test 'headers have content_type set to (?^:text/html)'
-# at t/02_prepare_serializer_for_format.t line 71.
-# 'text/x-yaml'
-# doesn't match '(?^:text/html)'

-# Failed test '$data has been encoded'
-# at t/02_prepare_serializer_for_format.t line 73.
-# got: '--- root
-# '
-# expected: 'root'
-# Looks like you failed 2 tests of 10.
t/02_prepare_serializer_for_format.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/10 subtests
t/03_resource.t ....................... ok
t/04_helpers.t ........................ ok
t/04_plugin_settings.t ................ [Webservice:6072] core @2015-07-07 11:38:26> Failed to serialize the request: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at /home/grubert/.perlbrew/libs/perl-5.21.8@v2/lib/perl5/Dancer2/Serializer/JSON.pm line 34. in (eval 227) l. 1
t/04_plugin_settings.t ................ 1/5
-# Failed test 'response looks good for 'GET /''
-# at t/04_plugin_settings.t line 68.
-# got: ''
-# expected: 'root'

-# Failed test 'response looks good for 'GET /''
-# at t/04_plugin_settings.t line 68.
-# got: '--- root
-# '
-# expected: 'root'
-# Looks like you failed 2 tests of 5.
t/04_plugin_settings.t ................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/05_named_captures.t ................. 1/8
-# Failed test 'headers have content_type set to (?^:text/html)'
-# at t/05_named_captures.t line 64.
-# 'text/x-yaml'
-# doesn't match '(?^:text/html)'

-# Failed test '$data has been encoded'
-# at t/05_named_captures.t line 67.
-# got: '--- root
-# '
-# expected: 'root'
-# Looks like you failed 2 tests of 8.
t/05_named_captures.t ................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/8 subtests
t/06_tcp_server.t ..................... ok

Test Summary Report

t/02_prepare_serializer_for_format.t (Wstat: 512 Tests: 10 Failed: 2)
Failed tests: 9-10
Non-zero exit status: 2
t/04_plugin_settings.t (Wstat: 512 Tests: 5 Failed: 2)
Failed tests: 1, 5
Non-zero exit status: 2
t/05_named_captures.t (Wstat: 512 Tests: 8 Failed: 2)
Failed tests: 7-8
Non-zero exit status: 2
Files=8, Tests=50, 5 wallclock secs ( 0.04 usr 0.05 sys + 3.73 cusr 0.29 csys = 4.11 CPU)
Result: FAIL
Failed 3/8 test programs. 6/50 subtests failed.
YANICK/Dancer2-Plugin-REST-0.25.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports YANICK/Dancer2-Plugin-REST-0.25.tar.gz