]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 25 Jan 2017 01:59:57 +0000 (14:59 +1300)
commit1fb7d9a869987b0e8de6cd7316ee78741a69c65f
treed0c42cdb8c78687e4930cc629da1aa40e6126589
parente8230c189da00b3b68c04c354ecb7cc6cacb4ad8
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>
t/db_dependent/Authorities/Merge.t [new file with mode: 0755]