]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 2 Mar 2021 07:01:05 +0000 (08:01 +0100)
commit5e1d0347f6452d7920f8d8762925f174a7e7995b
tree0a321abcb20d9a1360264852700fd01a3a5231da
parent9104c191f3c3f5a77c7648e167cc5c344feea026
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>
(cherry picked from commit 1de7ec0697c75c3161d950b9f6f6c8d99640b607)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/Libraries.t