Bug 13871: [QA Follow-up] Adjust Patron Info Request
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sat, 27 Feb 2016 13:40:44 +0000 (14:40 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 8 Apr 2016 07:54:58 +0000 (09:54 +0200)
commit4ec4e13ed7a443c631943eeb57c9c591ece886b2
tree44b9b1a73f9b625de13bb9b185c1f293f90ab942
parent120ee9461d780142832e455d316031b8fa88f285
Bug 13871: [QA Follow-up] Adjust Patron Info Request

Conform QA comment, Patron Info request is slightly adjusted to be
consistent with changes to Patron Status request.

If the cardnumber is ok and the password is wrong, BL=N is reported but
also add 'Invalid password' in AF.
Additionally, an invalid card number is reported in AF.

Test plan:
[1] Send patron info request for invalid card.
[2] Idem for valid card, no password.
[3] Idem for valid card, good password.
[4] Idem for valid card, wrong password.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Verified by telnetting SIP server.
And tested additionally with the new unit test of bug 15956.

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit b02aa7c4217ed75c42b95bd6af11a49472737144)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/SIP/Sip/MsgType.pm