Bug 33406: Add tests
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 4 Sep 2023 12:28:29 +0000 (12:28 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 18 Sep 2023 08:49:50 +0000 (22:49 -1000)
commitf36647c32a7224146ff2a8420b4c3243562f094c
treeb3b93357f8778e87b6a2ca06be0d165e128f69ed
parent5969d48392ae1b2740ace26b7c9efd3c1ce5b638
Bug 33406: Add tests

Test plan:
1) Apply this tests patch only
2) Run: prove t/Koha/SearchEngine/ElasticSearch/Search.t
3) Notice it fails with nasty ES "Failed to parse query" error
4) Apply the other patches
5) Repeat 2) - notice theres no nasty error

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fbd62562e0d67d22738435e44adf9f03900a147e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/Koha/SearchEngine/Elasticsearch/Search.t