Koha-clms/t/db_dependent/SIP
Jonathan Druart bd8272bebb Bug 34846: Fix SIP/ILS.t if DB has been upgraded
t/db_dependent/SIP/ILS.t .. 12/15
    #   Failed test 'Renewal succeeded'
    #   at t/db_dependent/SIP/ILS.t line 346.
    #          got: '0'
    #     expected: '1'
    # Looks like you failed 1 test of 2.
t/db_dependent/SIP/ILS.t .. 15/15
 #   Failed test 'renew'
 #   at t/db_dependent/SIP/ILS.t line 348.
 # Looks like you failed 1 test of 15.

Because renewalsallowed is 0 for upgraded DB, when it's 5 for new
install.

We need to set the value.

Test plan:
perl /kohadevbox/misc4dev/run_tests.pl --run-db-upgrade-only

prove t/db_dependent/SIP/ILS.t

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5f55775f40)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit bb19ca1618)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
2023-10-17 11:06:18 +01:00
..
ILS.t Bug 34846: Fix SIP/ILS.t if DB has been upgraded 2023-10-17 11:06:18 +01:00
Message.t Bug 23548: (QA follow-up) tidy up code 2023-09-15 09:50:32 +00:00
Patron.t Bug 33411: (follow-up) Set debit type for mocked fines 2023-06-12 10:14:45 +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-09 12:08:07 -01:00