Bug 30447: Unit tests
authorMichal Urban <michalurban177@gmail.com>
Wed, 15 Jun 2022 08:04:37 +0000 (04:04 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 19:34:59 +0000 (19:34 +0000)
commit2dfd3b05e74d5a7641bf93b021b437427fb8d86b
treea2984c01c079f17a5c5d5b65f697eb0da44de76d
parent3f7363f6ca7c0862b9071fe956f97a1401aad50d
Bug 30447: Unit tests

Added tests to ensure that Koha::Holds->get_items_that_can_fill returns items with datecancelled and datearrived
Added test for correct number of items for each call of "get_items_that_fill"

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b4a9edc83f72b9740cd59bd5c842855cd65e19cc)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Holds.t