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)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Mon, 7 Mar 2016 17:22:21 +0000 (17:22 +0000)
commitb02aa7c4217ed75c42b95bd6af11a49472737144
treeb876020a99a60361f642af7b7da9d1121a943c09
parenta32a5c4e0843ec8e08e8c75118f648cbbfdb762c
 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>
C4/SIP/Sip/MsgType.pm