]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 22 Jan 2017 19:57:06 +0000 (20:57 +0100)
commit980dc1721d8fe20bd6dcb6f09f8433f795e366f2
treeba86fe67b67fb38479c6979228288eb32d5f1f18
parent172d7e1e87ab940b92b9bee7a39133ff0a8d803b
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>
(cherry picked from commit d4de65c21f4671b3fbbaf6d00904fe1753a8ae9a)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Authorities/Merge.t [new file with mode: 0755]