]> git.koha-community.org Git - koha.git/commit
Bug 24879: (follow-up) Fix test suite v22.11.16-1
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 27 Mar 2024 09:20:03 +0000 (10:20 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 27 Mar 2024 09:48:34 +0000 (09:48 +0000)
commit92030f1aba2929dd384c3bede678689535988cac
tree093230a3e2fcd1e93f7f9c63c28d92550819f2f6
parent452f4d5acf8bf7609b3b9f3e99c807b39e32929b
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
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