Bug 12598: Allow matched patron to be updated
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 10 Aug 2017 12:56:24 +0000 (13:56 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Feb 2018 17:05:14 +0000 (14:05 -0300)
commit8f8eb35c2f6d56dfd332cbe6212db75aae8b8f50
treee2ca27c9f4e26cf538273ef285abe968b6b32e42
parentb361ff2d7d1d9e0f27ff3d6b728686bc3691c564
Bug 12598: Allow matched patron to be updated

When a test was introduced to not add duplicate userids
it overlooked that if you were matching on userid you
do not want the update to be rejected.

Add a test to overcome this logical flaw if updating
by matching userid

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patrons/Import.pm