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 14:50:11 +0000 (11:50 -0300)
commitd8b9f8e79b324f5f50c0e03d663cf94c32d57f9e
tree541341e8fd1de6df5dc8abfd481d94512c0b2ab7
parent96a93f1563b03a3154ef7d94c90b2c8b09f40484
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

(cherry picked from commit f8a23b8ef46aea60eda9211a3e89af85d650ac26)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
suite

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