Bug 18198: (QA follow-up) Add tests for GetMarcNotes
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 31 Jan 2018 12:52:46 +0000 (13:52 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 2 Feb 2018 15:08:42 +0000 (12:08 -0300)
commit58f7214926c62f86e7d5a42e3c38037a8e80263c
treeb1a3dcb1c29c5309cd3ae586a9b70c5622d76090
parent9215cb7cafb95b7fa21838a7d8ddaf71999ad572
Bug 18198: (QA follow-up) Add tests for GetMarcNotes

As requested by the RM, this patch adds a separate unit test
for GetMarcNotes. We test MARC21 and UNIMARC. The NotesBlacklist pref
is tested and also handling URLs in 5XX$u for MARC21.

Test plan:
Run t/Biblio/GetMarcNotes.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/Biblio/GetMarcNotes.t [new file with mode: 0755]