[Koha-bugs] [Bug 28234] TestBuilder->build_sample_biblio does not deal correctly with encoding

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 27 14:53:18 CEST 2021


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 120215
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120215&action=edit
Bug 28234: TestBuilder->build_sample_biblio should set UTF-8 encoding for
record

This patch makes the build_sample_biblio method, correctly set the UTF-8
flag for the MARC::Record object.

Tests are added.

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/TestBuilder.t
FAIL: Tests fail! An unexpected encoding warning shows
3. Apply this patch
4. Repeat 2
=> SUCCESS: No warning! Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list