[Koha-bugs] [Bug 15599] Unit tests output warnings
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 20 20:59:06 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15599
--- Comment #4 from Gus Ellerm <gel1163 at stacmail.net> ---
Results for first prove - without patches installed
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove
t/db_dependent/Circulation/Returns.t
t/db_dependent/Circulation/Returns.t .. Subroutine C4::Context::userenv
redefined at t/db_dependent/Circulation/Returns.t line 15.
t/db_dependent/Circulation/Returns.t .. ok
All tests successful.
Files=1, Tests=2, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.98 cusr 0.09
csys = 1.10 CPU)
Result: PASS
Results for second prove - without patches installed
t/db_dependent/Items.t .. 7/9
# Failed test 'Got Koha::Library from home_branch method'
# at t/db_dependent/Items.t line 456.
# got: 'Koha::Branch'
# expected: 'Koha::Library'
# Failed test 'Got Koha::Library from holding_branch method'
# at t/db_dependent/Items.t line 460.
# got: 'Koha::Branch'
# expected: 'Koha::Library'
# Looks like you failed 2 tests of 5.
# Failed test 'Koha::Item(s) tests'
# at t/db_dependent/Items.t line 464.
# Looks like you failed 1 test of 9.
t/db_dependent/Items.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests
Test Summary Report
-------------------
t/db_dependent/Items.t (Wstat: 256 Tests: 9 Failed: 1)
Failed test: 8
Non-zero exit status: 1
Files=1, Tests=9, 2 wallclock secs ( 0.03 usr 0.03 sys + 1.04 cusr 0.19
csys = 1.29 CPU)
Result: FAIL
Looks like I am missing some sample data. These tests were all done before
application off patches.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list