]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 5 Mar 2021 17:58:58 +0000 (17:58 +0000)
commitac7d6e818202314715205b802389aec3b5144757
tree473ba13a6263aa23b1ab40c9cdebaf72b9954c7d
parent8729675104cfc01d564dae6a7ebcb80a97b1696c
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>
(cherry picked from commit 5e1d0347f6452d7920f8d8762925f174a7e7995b)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
t/db_dependent/Koha/Libraries.t