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)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Sep 2013 19:13:34 +0000 (19:13 +0000)
commit995f4b6ecb504e1648816b0841e90efb814f25c7
tree39935a815e3d2097dd37db992ae9b059392822b9
parentfc84903dfb73212029466764005bb53e5089acc8
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>
C4/ILSDI/Services.pm
t/db_dependent/ILSDI_Services.t [new file with mode: 0644]