]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Oct 2021 08:09:50 +0000 (10:09 +0200)
commit515a596fb95751d8cb1fb890b45e5112487e0dd4
tree4f9a83a6c0806807549905adb5ddcffa1b6d4d84
parentdf63fe79e0e4cff1dac624e53b21c661c84fd41c
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>
t/db_dependent/Koha/SearchEngine/Elasticsearch.t