]> git.koha-community.org Git - koha.git/commit
Bug 32350: Use array_minus and ignore nesting
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 25 Nov 2022 10:02:24 +0000 (10:02 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Nov 2022 15:40:28 +0000 (12:40 -0300)
commit9b9b8f19200695df168440d47cecc6b947fcebc5
tree8bcf520b547c283667218ffcfeb82a04ba859c49
parent3381a6463cad9300bae89384fd47749a9887a0c7
Bug 32350: Use array_minus and ignore nesting

Note: Test will be extended in follow-up. This fixes the
module_bit hash to follow the FK path from user_permissions
to permissions to userflags. One step was missed in the
existing test, although it did not fail. The change here
revealed that now.

Test plan:
Run t/db_dependent/TestBuilder.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/TestBuilder.t
t/lib/TestBuilder.pm