]> git.koha-community.org Git - koha.git/commit
Bug 20721: (bug 19403 follow-up) Prevent Circulation.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 7 May 2018 16:15:34 +0000 (13:15 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 22 May 2018 11:10:48 +0000 (13:10 +0200)
commitf54db7492dc703b306239279833a2036ba021e7f
tree1517650b83afc698c89ac4b74d5a8cd402d48c0b
parent96115837e576005a635b625628bc070ba05c617c
Bug 20721: (bug 19403 follow-up) Prevent Circulation.t to fail randomly

If items.restricted == 1, CanBookBeIssued will not returned what we are
testing.

The easiest and global fix is to define a default value at TestBuilder
package level

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e93241a7174930c52c6f03560027cd527492148d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation.t
t/lib/TestBuilder.pm