Bug 27600: Add unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 Feb 2021 10:16:30 +0000 (10:16 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Aug 2021 20:03:42 +0000 (10:03 -1000)
commit1b62d17f90d35afc235fd846ebf9d83f8e576425
treebe68b58b7ac7680f5b7d5c963e17d3812fe8f6a3
parentbe9c9e064c3f91e2707f9b1add8f2a477d329fdb
Bug 27600: Add unit test

This patch adds a basic unit test to catch the case where patron_pwd is
sent to renew_all as an empty string.

Test plan
1/ Run t/db_dependent/SIP/ILS.t and watch it fail
2/ Apply second patch
3/ Re-run the above test and watch it pass.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 3724e1646876ba14b296132e1f93e15df7a0a9e2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/SIP/ILS.t