]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Aug 2014 07:39:26 +0000 (09:39 +0200)
commitf09c5a08769375948812bde71577cabcc2a86204
treec691ddb4e7d5212f81cf5397de51bdfda7fdff1b
parent08c87c6acdefd47d454555f0f6f9ddd8e4986cee
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>
t/db_dependent/Biblio.t