Koha-clms/t/db_dependent/SIP
Matthias Meusburger 77b28f46f0 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>
2023-02-09 12:08:07 -01:00
..
ILS.t Bug 29094: Adding hold via SIP should check if patron can hold item first 2022-07-18 10:24:58 -03:00
Message.t Bug 31552: SIP2 option format_due_date not honored for AH field in item information response 2022-10-12 14:56:57 -03:00
Patron.t Bug 29755: (follow-up) Mock NoIssuesChargeGuarantorsWithGuarantees in test 2022-05-06 15:58:13 -10: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-09 12:08:07 -01:00