[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
Wed Sep 21 05:38:06 CEST 2011


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

--- Comment #12 from Chris Cormack <chris at bigballofwax.co.nz> 2011-09-21 03:38:06 UTC ---
 perl t/db_dependent/Record.t 
1..10
ok 1 - use C4::Record;
ok 2 - error works
DBD::mysql::db do failed: Unknown or incorrect time zone: 'Pacific/Auckland' at
C4/Context.pm line 700, <DATA> line 496.
ok 3 - testing marc2xml
ok 4 - testing marc2xml
ok 5 - testing xml2marc
ok 6 - testing marc2dcxml
ok 7 - testing marcQualified
not ok 8 - testing marc2mosxml
#   Failed test 'testing marc2mosxml'
#   at t/db_dependent/Record.t line 85.
#          got: '<?xml version="1.0" encoding="UTF-8"?>
# <mods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.loc.gov/mods/v3" version="3.1"
xsi:schemaLocation="http://www.loc.gov/mods/v3
http://www.loc.gov/standards/mods/v3/mods-3-1.xsd">
#   <typeOfResource/>
#   <originInfo>
#     <issuance/>
#   </originInfo>
#   <recordInfo/>
# </mods>
# '
#     expected: '<?xml version="1.0" encoding="UTF-8"?>
# <mods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.loc.gov/mods/v3" version="3.1"
xsi:schemaLocation="http://www.loc.gov/mods/v3
http://www.loc.gov/standards/mods/v3/mods-3-1.xsd">
# <typeOfResource/>
# <originInfo>
# <issuance/>
# </originInfo>
# <recordInfo/>
# </mods>
# '
ok 9 - testing bibtex
ok 10 - Html umlauts
# Looks like you failed 1 test of 10

If i revert the patch, the test passes

-- 
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.


More information about the Koha-bugs mailing list