Koha/t/db_dependent/SIP
Nick Clemens d85ae826c6 Bug 28320: Add DB connection check to the SIP SC status message
This patch adds a lookup of the sip user during an SC status, confirming that
our DB ocnnection is working, and that our user is still valid

Additionally, it adds support for SC status to the sip_cli_emulator and adds basic
test coverage for the SC status message

To test:
1 - Apply patch
2 - Restart SP server
3 - perl misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -m sc_status_request -su term1 -sp term1
4 - prove -v t/db_dependent/SIP/Message.t

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-05-17 12:34:33 +02:00
..
ILS.t Bug 25808: (QA follow-up) Fix unit tests 2021-01-21 15:40:29 +01:00
Message.t Bug 28320: Add DB connection check to the SIP SC status message 2021-05-17 12:34:33 +02:00
Patron.t Bug 27014: (QA follow-up) Add regression tests 2021-02-23 13:16:03 +01:00
SIPServer.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Transaction.t Bug 25690: Add SIP2 tests for checking out with holds 2021-03-04 16:18:42 +01:00