]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 20 Feb 2017 10:46:20 +0000 (11:46 +0100)
commit40e69f86cb06a7247707d4f0b0375bd344a24e35
tree5cd55bc5db66209947808f1de98db687a6dbf2b1
parent7968d5d59be0bc3f5bb8ad903c45bd2fc3aefac8
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: Mason James <mtj@kohaaloha.com>
(cherry picked from commit 1fb7d9a869987b0e8de6cd7316ee78741a69c65f)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
t/db_dependent/Authorities/Merge.t [new file with mode: 0755]