]> git.koha-community.org Git - koha.git/commit
Bug 17748: (follow-up) Stronger unit tests
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 25 Mar 2022 00:11:57 +0000 (14:11 -1000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 25 Mar 2022 00:22:10 +0000 (14:22 -1000)
commit29e1681ff1e5e3b6d820d277c5a475ecdf846d21
tree4e9b15077f7fb1510f98ed34bc009d00ce5e6a6b
parent216bb783e04b3a0b3cbd035140f9d5b9d1a5e7bd
Bug 17748: (follow-up) Stronger unit tests

Before this patch, unit tests perform an item search assuming there is
no checked-out items in database.
This is correct for a fresh reseted database.
But if you checkout any item then prove t/db_dependent/Items.t it will
fail.
We can see in this file that other tests use filter on generated
branchcode.

This patch adds filter to items.homebranch

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Items.t