]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 18:20:03 +0000 (18:20 +0000)
commitda7dd4ed8c2462597712a11b0a018db87b1fef87
tree74ecc6b7fa11e262773c9949920460bce161013c
parent97bf5f258a53e7d4fd89b29dc57f74012e9421c4
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>
t/db_dependent/Biblio.t