]> git.koha-community.org Git - koha.git/commit
Bug 17909: Add unit tests for C4::AuthoritiesMarc::merge
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 19 Feb 2014 10:31:13 +0000 (11:31 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 13:49:03 +0000 (13:49 +0000)
commitd4de65c21f4671b3fbbaf6d00904fe1753a8ae9a
treeaf6d41643a43fddc12a8ba1383b19ccc262dc986
parentb732963e2f91a54894f12cd5fd964c21e1c6f533
Bug 17909: Add unit tests for C4::AuthoritiesMarc::merge

Original patch from Julian Maurice on bug 11700.
With sign offs by:
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Amended by Marcel de Rooy on report 17909.

EDIT (January 2017):
Removed some tests not related to merge.
Put remaining tests in a subtest, made them working on current merge.
Slightly revised the mocking.

Note: I plan to move the zebra retrieval stuff outside merge in one of
the next stages, and replace it by calling Koha::SearchEngine. This will
reduce mocking complexity here.

Test plan:
Just run t/db_dependent/Authorities/Merge.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Authorities/Merge.t [new file with mode: 0755]