[Catalyst] Dev Authentication Plugin
Jamie Neil
jamie at versado.net
Mon May 14 14:01:48 GMT 2007
Apologies in advance if this is the wrong place to ask this.
Trying to compile the latest dev release of the authentication plugin
(0.9999_01) and it's failing on tests:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/04_authentication....ok
t/05_password..........ok
t/06_user..............ok
t/live_app.............ok 1/0[error] Caught exception in
AuthTestApp->moose "The user 'bar' is a reference of type
Catalyst::Plugin::Authentication::User::Hash but should be a HASH at
/home/jamie/src/Catalyst-Plugin-Authentication-0.09999_01/blib/lib/Catalyst/Plugin/Authentication.pm
line 119"
t/live_app.............ok
t/live_app_session.....ok 1/20[error] Caught exception in
AuthSessionTestApp->moose "The user 'foo' is a reference of type
User::SessionRestoring but should be a HASH at
/home/jamie/src/Catalyst-Plugin-Authentication-0.09999_01/blib/lib/Catalyst/Plugin/Authentication.pm
line 119"
t/live_app_session.....NOK 4
# Failed test 'get ok'
# in t/live_app_session.t at line 19.
# 500
# Internal Server Error
t/live_app_session.....NOK 5
# Failed test 'session ID was restored'
# in t/lib/AuthSessionTestApp.pm at line 38.
t/live_app_session.....NOK 6
# Failed test 'user exists'
# in t/lib/AuthSessionTestApp.pm at line 39.
t/live_app_session.....NOK 7
# Failed test 'a user was also restored'
# in t/lib/AuthSessionTestApp.pm at line 40.
t/live_app_session.....NOK 8
# Failed test in t/lib/AuthSessionTestApp.pm at line 41.
# Structures begin differing at:
# $got = User::SessionRestoring=HASH(0x891758c)
# $expected = 'restored user is the right one (deep test - store
might change identity)'
t/live_app_session.....NOK 10
# Failed test 'no session ID was restored'
# in t/lib/AuthSessionTestApp.pm at line 49.
# Looks like you planned 20 tests but only ran 18.
# Looks like you failed 6 tests of 18 run.
t/live_app_session.....dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 4-8, 10, 19-20
Failed 8/20 tests, 60.00% okay
t/pod..................skipped
all skipped: Test::Pod 1.14 required
t/pod_coverage.........skipped
all skipped: Test::Pod::Coverage 1.04 required
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/live_app_session.t 6 1536 20 10 50.00% 4-8 10 19-20
2 tests skipped.
Failed 1/7 test scripts, 85.71% okay. 8/47 subtests failed, 82.98% okay.
make: *** [test_dynamic] Error 255
Is this a known problem?
--
Jamie Neil | <jamie at versado.net> | 0870 7777 454
Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254
More information about the Catalyst
mailing list