Bug 29632: Unit tests
authorNick Clemens <nick@bywatersolutions.com>
Mon, 11 Jul 2022 15:56:05 +0000 (15:56 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 17:35:28 +0000 (17:35 +0000)
commit37e560ce88a91d716f8719e39515ab12fa9a19b7
tree2b83a94b41338f6ca7afa51ff25eefb4508f19d7
parent256ef4ee27197c3ee8d1c331d4fe6d3b97e76286
Bug 29632: Unit tests

This patch adds unit tests, as well as changing existing test to use a mock
and read the data as passed in tests, rather than relying on what exists in
the DB

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 295987a06184f8538a98a50907b5caf97988a242)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Koha/SearchEngine/Elasticsearch.t