Subject: | tests broken under Catalyst 5.9 |
There have been significant changes with Catalyst 5.9, and I believe
that's why tests are failing now:
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/5 # Testing Catalyst::Authentication::AuthTkt
0.11, Perl 5.014001, /usr/local/bin/perl
t/00-load.t ....... ok
t/01-authtkt.t .... 1/12 Use of uninitialized value in string eq at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst/Engine.pm line 478.
Use of uninitialized value in string eq at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst.pm line 1802.
[error] Caught exception in engine "Can't call method "write" on an
undefined value at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst/Engine.pm line 874."
# Failed test 'req redirects without auth tkt'
# at t/01-authtkt.t line 52.
# got: undef
# expected: '302'
# Failed test 'auth url'
# at t/01-authtkt.t line 53.
# got: undef
# expected: 'http://localhost:3000/login'
Use of uninitialized value in string eq at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst/Engine.pm line 478.
Use of uninitialized value in string eq at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst.pm line 1802.
[error] Caught exception in engine "Can't call method "write" on an
undefined value at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst/Engine.pm line 874."
# Failed test 'logged in'
# at t/01-authtkt.t line 77.
# got: '<html>
# <head><title>An Error Occurred</title></head>
# <body>
# <h1>An Error Occurred</h1>
# <p>500 Internal Server Error</p>
# </body>
# </html>
# '
# expected: 'Logged in as user catalyst-tester with roles ("group1",
"group2")'
Use of uninitialized value in string eq at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst/Engine.pm line 478.
Use of uninitialized value in string eq at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst.pm line 1802.
[error] Caught exception in engine "Can't call method "write" on an
undefined value at
/usr/local/lib/perl5/site_perl/5.14.1/Catalyst/Engine.pm line 874."
# Failed test 'req redirects without auth tkt'
# at t/01-authtkt.t line 86.
# got: undef
# expected: '302'
# Failed test 'auth url'
# at t/01-authtkt.t line 87.
# got: undef
# expected: 'http://localhost:3000/login'
# Looks like you failed 5 tests of 12.
t/01-authtkt.t .... Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/12 subtests
t/pod-coverage.t .. ok
t/pod.t ........... ok
Test Summary Report
-------------------
t/01-authtkt.t (Wstat: 1280 Tests: 12 Failed: 5)
Failed tests: 4-5, 9, 11-12
Non-zero exit status: 5
Files=4, Tests=27, 2 wallclock secs ( 0.03 usr 0.02 sys + 1.17 cusr
0.06 csys = 1.28 CPU)
Result: FAIL
Failed 1/4 test programs. 5/27 subtests failed.
make: *** [test_dynamic] Error 255
KARMAN/Catalyst-Authentication-AuthTkt-0.11.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports KARMAN/Catalyst-Authentication-AuthTkt-0.11.tar.gz
Running make install
make test had returned bad status, won't install without force
Stopping: 'install' failed for 'Catalyst::Authentication::Realm::AuthTkt'.