]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Jan 2021 14:37:15 +0000 (15:37 +0100)
commitcd83fbe58d6f3ee2cd15880acaaccd495007c83f
treedb518f185078af771abc1a97ff97fda9d1ebbf25
parentd9063ba246bd020de83bc67964a08855a73ccb24
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>
t/db_dependent/HoldsQueue.t