Bug 25030: (QA follow-up) Fix tests
authorNick Clemens <nick@bywatersolutions.com>
Tue, 19 Oct 2021 10:34:38 +0000 (10:34 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 22 Oct 2021 15:25:50 +0000 (11:25 -0400)
commite559c868dcbde7dac52dcda2bd73a4124770691c
treeecb7e1f567ba709c401e501f96a6b5526b7ac715
parent7ad06f21cfe258acf6980f5084bfd44bdfb945a1
Bug 25030: (QA follow-up) Fix tests

Fluid is not a valid value for cxn_pool - valid values are:
Sniff,Static,NoPing

AddAuthority call calls index - the indexing call was trying to access
the ES server with mocked values and dying when they were invalid

This patch uses a correct value for cxn_pool and inserts directly into DB
to avoid indexing

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Koha/SearchEngine/Elasticsearch.t