Bug 27857: Add handling for globally mandatory attributes
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Mar 2021 17:24:28 +0000 (17:24 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Apr 2021 13:43:30 +0000 (15:43 +0200)
commit881b610db65d077b46194c1f3056f5e1826170e0
tree0b8cb973b1af536d6bb8ff54fc6ff451e5461143
parent7b40ee22035210e3fbdfe75785d68ca314285409
Bug 27857: Add handling for globally mandatory attributes

This patch adds handling for globally mandatory extended attributes and
the corresponding unit tests.

To test:
1. Apply the patch
2. Run:
   $ kshell
   k$ prove t/db_dependent/Koha/Patron.t
   => SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patron.pm
t/db_dependent/Koha/Patron.t