]> git.koha-community.org Git - koha.git/commit
Bug 10667: Add unit tests for ILSDI::Services::AuthenticatePatron
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 8 Sep 2013 19:34:37 +0000 (21:34 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 8 Nov 2013 18:16:44 +0000 (15:16 -0300)
commit1f9c3c90a66c02872ca7ed260bfdb7945ad8896b
treef666c5beff30167ef0eb41645b29927dd20b1d42
parentb178a758a2b3a6b7ee1c0b5beaf3460daf0057d2
Bug 10667: Add unit tests for ILSDI::Services::AuthenticatePatron

This patch adds unit tests for Authenticate patron.

To test:
- Run perl t/db_dependent/ILSDI_Services.t
- Verify all tests pass

Note: there are some tests marked as TODO.

Rewriting AuthenticatePatron to make cardnumber and userid
work for authenticating a patron will be implemented in the
next patch. Tests related to this are currently showing as
'not ok', but are still passing.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
No koha-qa errors
With both patches applied, all test pass.
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 995f4b6ecb504e1648816b0841e90efb814f25c7)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/ILSDI/Services.pm
t/db_dependent/ILSDI_Services.t [new file with mode: 0644]