[Koha-bugs] [Bug 18807] www/batch.t is failing
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 16 00:28:45 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18807
Lee Jamison <ldjamison at marywood.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #64299|0 |1
is obsolete| |
--- Comment #5 from Lee Jamison <ldjamison at marywood.edu> ---
Created attachment 64369
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64369&action=edit
Bug 18807: Fix tests www/batch.t
Several things are wrong here:
1. It assumes that import_record_id is the biblionumber
=> Wrong, it is only true when the DB is empty and that the 2 AI equal 1
2. The encoding in the template is 'UTF-8', not 'utf8', it leaded to
"stage-marc-import.pl: marc21record.mrc: Unexpected charset UTF-8, expecting
utf8"
3. We did not test that the biblio was correctly imported
Test plan:
Make sure the tests now pass.
For the www tests you need to set the following env vars:
KOHA_USER, KOHA_PASS, KOHA_INTRANET_URL and KOHA_OPAC_URL
Signed-off-by: Lee Jamison <ldjamison at marywood.edu>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list