Koha-clms/t/db_dependent/SIP
Matthias Meusburger 0c6be1a161 Bug 32408: Add unit tests to SIP checkout
This patch adds unit tests to show SIP's behavior on checkout according to the
AllFinesNeedOverride, AllowFineOverride and noissuescharge sysprefs, knowingly:

+----------------------+-------------------+---------+---------+
| AllFinesNeedOverride | AllowFineOverride |  Under  |  Over   |
+----------------------+-------------------+---------+---------+
|                    0 |                 0 | allowed | blocked |
|                    0 |                 1 | allowed | blocked |
|                    1 |                 0 | blocked | blocked |
|                    1 |                 1 | blocked | blocked |
+----------------------+-------------------+---------+---------+

(the columns Under and Over are referring to "under noissuescharge" and
"over noissuescharge")

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5f97fa18cc)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
(cherry picked from commit 77b28f46f0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2023-02-15 21:47:00 +00:00
..
ILS.t Bug 29094: Adding hold via SIP should check if patron can hold item first 2022-08-23 17:12:15 +00:00
Message.t Bug 31552: SIP2 option format_due_date not honored for AH field in item information response 2022-12-05 18:52:34 +00:00
Patron.t Bug 32624: Don't include guarantee or guarantor fines in BV (fines amount) in SIP messages 2023-02-14 22:45:07 +00:00
SIPServer.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Transaction.t Bug 32408: Add unit tests to SIP checkout 2023-02-15 21:47:00 +00:00