Subject: | Missing test requirements |
Tests use the Catalyst::Plugin::ConfigLoader module, which is not
mentioned as a dependency in Makefile.PL.
Also, test #4 in t/44-m2m-metadata.t fails without
Lingua::EN::Inflect::Number:
$ prove -bdv t/44-m2m-metadata.t
# $Test::Harness::Switches: -Iblib/arch -Iblib/lib
# 1 tests to run
t/44-m2m-metadata....Subroutine initialize redefined at
/usr/share/perl5/vendor_perl/Class/C3.pm line 70.
Subroutine uninitialize redefined at
/usr/share/perl5/vendor_perl/Class/C3.pm line 88.
Subroutine reinitialize redefined at
/usr/share/perl5/vendor_perl/Class/C3.pm line 101.
ok 1 - use Test::WWW::Mechanize::Catalyst;
ok 2 - Get album listframework metadata
ok 3 - Metadata content type
not ok 4 - Metadata is as we expect
# Failed test 'Metadata is as we expect'
# at t/44-m2m-metadata.t line 111.
# Structures begin differing at:
# $got->{table_info}{LFB::DBIC::Album}{mfks}{artist_albums} =
'Artist'
# $expected->{table_info}{LFB::DBIC::Album}{mfks}{artist_albums} =
'Artists'
1..4
# Looks like you failed 1 test of 4.
After installing it, the test passes.