Bug 17457: Add tests for each marc flavour
authorDavid Bourgault <david.bourgault@inlibro.com>
Wed, 24 Jan 2018 20:52:50 +0000 (15:52 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Mar 2018 14:45:38 +0000 (11:45 -0300)
commit736f8a9205b02c89fe007759d581d23f84c5d09a
tree6646af974fad5bd3f9e80a6b8ec42d0b88c5fe99
parentf1c14d25d1bcf1cacb7bdeef3bfc7581f5c830ec
Bug 17457: Add tests for each marc flavour

+ Added a `run_flavoured_tests` sub that runs for each MARC flavour
* Moved SearchWithISBNVariation tests to the new sub

I copied a lot of the necessary utility functions over Biblio.t (as of Jonathan's suggestion). I also tried to name and organize the code in such a way that it can be reused if anyone else needs to run "flavoured" tests in the future.

prove t/db_dependant/Acquisition.t  OK
QA tool green

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Acquisition.t