Bug 29632: Unit tests
authorNick Clemens <nick@bywatersolutions.com>
Mon, 11 Jul 2022 15:56:05 +0000 (15:56 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Jul 2022 14:21:47 +0000 (11:21 -0300)
commit295987a06184f8538a98a50907b5caf97988a242
tree21ae777d7e128c1c7cd3088065ea2d5428f948f2
parentb8b8a62f112dc6937a7187d4150146a7cad6941f
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>
t/db_dependent/Koha/SearchEngine/Elasticsearch.t