Bug 33406: Add tests
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 4 Sep 2023 12:28:29 +0000 (12:28 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 15 Sep 2023 18:50:41 +0000 (15:50 -0300)
commitfbd62562e0d67d22738435e44adf9f03900a147e
tree89ea5a14fbf63960c914129830dd7272bffc961c
parent2bdfe69df80d2028563eda175d6f9a0db4d0b19d
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>
t/Koha/SearchEngine/Elasticsearch/Search.t