]> git.koha-community.org Git - koha.git/commit
Bug 29976: (Bug 21729 follow-up) fix holds unit tests
authorFridolin Somers <fridolin.somers@biblibre.com>
Sat, 29 Jan 2022 00:50:26 +0000 (14:50 -1000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 2 Feb 2022 07:39:39 +0000 (21:39 -1000)
commitcaa1712d9ffee34975fe92de26c1ede92f8a6425
tree0843aea9d3b4fb5967a157f47f8bc4350988df28
parentbb316c5ded332cb09dc3ef25c82ccbbfce20525b
Bug 29976: (Bug 21729 follow-up) fix holds unit tests

Bug 21729 added to holds table the column patron_expiration_date.

Currently test suite is failing :
https://jenkins.koha-community.org/view/master/job/Koha_Master_D10/516/testReport/

We must fix where TestBuilder is creating with source Reserve and data expirationdate :
  t/db_dependent/Holds/WaitingReserves.t
  t/db_dependent/Reserves/CancelExpiredReserves.t

Note that t/db_dependent/Reserves/CancelExpiredReserves.t does not fail
without this patch but surely we prefere change it also.

Test plan :
prove t/db_dependent/Holds/WaitingReserves.t
prove t/db_dependent/Reserves/CancelExpiredReserves.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Holds/WaitingReserves.t
t/db_dependent/Reserves/CancelExpiredReserves.t