Koha/t/lib
Marcel de Rooy 50d3c3c0a8 Bug 33718: Fix the mock of Koha::Config->get in mock_config
It should not mock calls for other sections than 'config' in
koha-conf.xml.

Test plan:
Without this patch:
[1] Enable AutoLinkBiblios, CatalogModuleRelink and LinkerRelink.
This will trigger a SearchAuthorities call when creating a sample biblio.
Note: SearchAuthorities calls Zconn and gets back information from
a wrong part of koha-conf.xml.
[2] Run t/db_dependent/Koha/Pseudonymization.t
You should see something like:
  {UNKNOWN}: Can't use string ("authorities") as a HASH ref while "strict refs" in use at /usr/share/koha/C4/Context.pm line 587. at /usr/share/koha/C4/Biblio.pm line 302

With this patch:
[3] Run t/db_dependent/Koha/Pseudonymization.t. Should pass now.
[4] git grep -l mock_config | xargs -i{} prove {}
    Exclude Mocks.pm.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2023-05-16 11:47:22 +02:00
..
bad_plugins/Koha/Plugin
IdP Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests 2022-11-08 14:39:51 -03:00
Koha/BackgroundJob
Mocks Bug 31992: Fix t::lib::Mocks::Zebra 2022-10-28 16:30:05 -03:00
plugins/Koha/Plugin Bug 31896: New after_recall_action hook 2022-11-09 14:34:41 -03:00
QA Bug 31883: Filter trim causes false warnings 2022-10-20 11:22:33 -03:00
Bootstrap.pm
Dates.pm
Mocks.pm Bug 33718: Fix the mock of Koha::Config->get in mock_config 2023-05-16 11:47:22 +02:00
Selenium.pm Bug 32010: 2AF selenium tests - Alert can appear when we are waiting for ajax 2022-11-22 08:55:09 -03:00
TestBuilder.pm Bug 25503: Make Koha::Exporter::Record tests pass with unimarc 2023-05-10 15:26:18 -03:00