Bug 29332: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 27 Oct 2021 11:07:02 +0000 (12:07 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Oct 2021 10:16:37 +0000 (12:16 +0200)
commitf1780f02f28438d42d42d6993462b48fc641ed5d
tree7037b1eac837c0d5e477b7eaa03f423ba332302e
parentc70de8c5305700cce9a6fe9a6f75c2cf53be02f1
Bug 29332: Unit tests

This patch adds unit tests to ensure we do not leak branch specific
addtional contents blocks outside of logged in sessions (i.e. where a
users branch is not yet set).

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/AdditionalContents.t