Bug 27071: More tests for Koha::Library->validate_hold_sibling
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 24 Nov 2020 14:55:14 +0000 (11:55 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Mar 2021 08:56:19 +0000 (09:56 +0100)
commit1de7ec0697c75c3161d950b9f6f6c8d99640b607
tree7497b9b0b415c8ae0014b04c199dcfb39faf422e
parentc6606d4a6567a00f2defd72a32ff466c01a54e96
Bug 27071: More tests for Koha::Library->validate_hold_sibling

This patch adds tests for more than one non-same sibling libraries in
the hold group. Tests pass which means it is working as expected.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Libraries.t
=> SUCCESS: Tests pass

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Libraries.t