Bug 28220: Add more tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 May 2021 10:31:47 +0000 (12:31 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 May 2021 10:29:23 +0000 (12:29 +0200)
commit4de341c2d0fe88c8ac160ba916a86a382be8a6b1
treeb914898d1393aa7bd00269944511d30aa8caf306
parente75513933463b21b310af12133484f4b3f376f9b
Bug 28220: Add more tests

* Add the transaction when a patron is created
* The changes in merge_and_replace_with prevent the creation of the
patron and so the attributes if several non-repeatable attributes are
passed

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patron/Attributes.pm
Koha/Patrons/Import.pm
t/db_dependent/Koha/Patrons/Import.t