Bug 24879: (follow-up) Fix test suite
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 27 Mar 2024 09:20:03 +0000 (10:20 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 27 Mar 2024 09:23:07 +0000 (10:23 +0100)
commitf8a23b8ef46aea60eda9211a3e89af85d650ac26
tree16722d44461cf02efadf8871c6dcc5b840d76861
parent9c8fb67d3024049981a69747f5b80ae4efca5ec2
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
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