[Koha-bugs] [Bug 5327] Unit tests required for all C4 modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 15 07:24:15 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5327

--- Comment #60 from Katrin Fischer <katrin.fischer at bsz-bw.de> 2011-12-15 06:24:15 UTC ---
Hi Duncan, 
your first patch works, but after moving the test it fails:
perl t/db_dependent/SIP_ILS.t 
1..4
not ok 1 - use C4::SIP::ILS;
#   Failed test 'use C4::SIP::ILS;'
#   at t/db_dependent/SIP_ILS.t line 14.
#     Tried to use 'C4::SIP::ILS'.
#     Error:  Can't locate ILS/Item.pm in @INC (@INC contains:
/home/katrin/kohaclone/t/db_dependent/../C4/SIP /home/katrin/kohaclone
/etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12
/usr/local/lib/site_perl .) at /home/katrin/kohaclone/C4/SIP/ILS.pm line 11.
# BEGIN failed--compilation aborted at /home/katrin/kohaclone/C4/SIP/ILS.pm
line 11.
# Compilation failed in require at (eval 8) line 2.
# BEGIN failed--compilation aborted at (eval 8) line 2.
Can't locate object method "new" via package "ILS::Transaction::RenewAll"
(perhaps you forgot to load "ILS::Transaction::RenewAll"?) at
t/db_dependent/SIP_ILS.t line 17.
# Looks like you planned 4 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list