Bug 24879: (follow-up) Fix test suite
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 27 Mar 2024 09:20:03 +0000 (10:20 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 27 Mar 2024 11:27:48 +0000 (08:27 -0300)
commit4079bdfbe8b786509e6b492e9dc337d67cd1fa7e
tree8fc53faea258684e8de25ca86c20a63c0807f78e
parent609b4c62257c70d20e629cc4b37f1d888df0ea0e
Bug 24879: (follow-up) Fix test suite

Running cataloguing pluings (in cataloguing/value_builder) now requires
authentification.

This patch adds in failing unit tests a mock of C4::Auth::check_cookie_auth

Test with:
prove t/db_dependent/FrameworkPlugin.t t/db_dependent/Koha/UI/Form/Builder/Biblio.t t/db_dependent/Koha/UI/Form/Builder/Item.t t/db_dependent/Serials.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/FrameworkPlugin.t
t/db_dependent/Koha/UI/Form/Builder/Biblio.t
t/db_dependent/Koha/UI/Form/Builder/Item.t