[Koha-bugs] [Bug 18807] www/batch.t is failing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 14 22:15:29 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18807

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 64299
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64299&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

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


More information about the Koha-bugs mailing list