]> git.koha-community.org Git - koha.git/commit
Bug 11912: (regression tests) GetMarcISBN wrongly prepends a space to ISBNs
authorTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 9 Mar 2014 20:21:48 +0000 (17:21 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 18:23:46 +0000 (14:23 -0400)
commit5af5298a44f334a4653829c9a7564001776c0975
treecb9467142d1c7d5d8c346ae71ce85daa99211f38
parent4b7f39a250ae9fe343806fdd374c61c2cc719fb1
Bug 11912: (regression tests) GetMarcISBN wrongly prepends a space to ISBNs

This patch makes the tests run in both MARC21 and UNIMARC contexts.
It previously run only for MARC21. It mocks what needs to be mocked.

To test, run
 - prove t/db_dependent/Biblio.t
=> Notice the first ISBN has a space in front of it and those tests fails.

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit da7dd4ed8c2462597712a11b0a018db87b1fef87)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit f09c5a08769375948812bde71577cabcc2a86204)
t/db_dependent/Biblio.t