]> git.koha-community.org Git - koha.git/commit
Bug 26367: Unit test
authorNick Clemens <nick@bywatersolutions.com>
Thu, 3 Sep 2020 12:06:51 +0000 (12:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 8 Jan 2021 06:48:26 +0000 (07:48 +0100)
commit120179cc87fc8242448cb7ef370f04dea759fb80
treea79b14ed985b0634cb8c12fb3cba05f647fac910
parentc4e45d056e097513ed0c8e90a0f212519f4bd4aa
Bug 26367: Unit test

This warn only appears when:
  The borrower and item branches match
  AND
  The hold fulfillment policy is any or the pickupbranch matches the items branch specified by hold_fulfillment_policy
  AND
  The request has an itemtype set

To trigger we simply add some itemtype to existing hold requests in the test

To test:
1 - prove -v t/db_dependent/HoldsQueue.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit cd83fbe58d6f3ee2cd15880acaaccd495007c83f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/HoldsQueue.t