]> git.koha-community.org Git - koha.git/commit
Bug 29483: Unit tests
authorNick Clemens <nick@bywatersolutions.com>
Thu, 18 Nov 2021 16:11:24 +0000 (16:11 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 20 Apr 2022 07:25:51 +0000 (21:25 -1000)
commit4113f765b6fd4d62d8aa3ae86de5e0f4987b227e
treefd8539bdf07c1e8362e7d8f6a865562f7433b155
parent9dcfa320f50466ddd75eb90697e9ff3bb12722de
Bug 29483: Unit tests

This patch updates the AllowRenewalIfOtherItemsAvailable tests to
remove deletion of all data, and create specific circ rules for this
test. It adjust several other tests that were relying on the rules from
this test, so thy too create their opwn specific rules.

Additionally, we add tests to cover the case of mutliple items on the record,
and some items cannot fill some reserves.

What is uncovered here is that the same patron is checked twice, so two holds can
be filled, but they only satisfy a single patron

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation.t