]> git.koha-community.org Git - koha.git/commit
Bug 25030: (QA follow-up) Fix tests
authorNick Clemens <nick@bywatersolutions.com>
Tue, 19 Oct 2021 10:34:38 +0000 (10:34 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 23 Oct 2021 01:50:57 +0000 (15:50 -1000)
commitcbbd246baddb70ca1cd4d3fe82096f641e993eda
treefd91eb001f8d68e55855af377eade7b27869cc6d
parent412f25f0ec48d832faa57a662f9721d1ea8e71f4
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>
(cherry picked from commit e559c868dcbde7dac52dcda2bd73a4124770691c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/SearchEngine/Elasticsearch.t