[Koha-bugs] [Bug 10333] UT: Labels/t_Batch.t needs to create its own data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 14 03:40:02 CEST 2013


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

--- Comment #9 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
# Testing Batch->new() method.
# Testing Batch->get_attr() method.
# Testing Batch->add_item() method.
Use of uninitialized value $encoding in string eq at C4/Biblio.pm line 3281.
Use of uninitialized value $encoding in pattern match (m//) at C4/Biblio.pm
line 3301.
# Testing Batch->retrieve() method.

#   Failed test at t/db_dependent/Labels/t_Batch.t line 100.
#     Structures begin differing at:
#          $got = '-2'
#     $expected = C4::Labels::Batch=HASH(0x2df33c0)
# Retrieved batch object FAILED to verify.
# Testing Batch->remove_item() method.

#   Failed test at t/db_dependent/Labels/t_Batch.t line 108.
#     Structures begin differing at:
#          $got = '-2'
#     $expected = C4::Labels::Batch=HASH(0x2df33c0)
# Updated batch object FAILED to verify.
# Testing Batch->delete() method.
# Looks like you planned 24 tests but ran 14.
# Looks like you failed 2 tests of 14 run.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list