]> git.koha-community.org Git - koha.git/commit
Bug 1861 [QA Followup] - Fix Check_Userid and unit tests
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 3 Nov 2014 12:38:48 +0000 (07:38 -0500)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 28 Dec 2014 22:50:49 +0000 (19:50 -0300)
commit7135364dd23442c38bed986b2540ab63cfd06ce1
tree9ed04bc0b534cc9ba615d5e3bddd249271c11210
parentdf4297621d285dbdbe13eaff04dae2a9419ed824
Bug 1861 [QA Followup] - Fix Check_Userid and unit tests

Check_Userid assumes that a borrowernumber will always be passed in
and thus fails to to return 0 for an already used userid when creating
a new patron.

Unit tests must now also me modified to no longer assume it is possible
to create multiple patrons with the same userid.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Members.pm
t/db_dependent/Members.t