]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 14 May 2018 19:47:39 +0000 (19:47 +0000)
commite93241a7174930c52c6f03560027cd527492148d
treef9f7c3bb4ac83e0914ec95ede9254fb6f913de4c
parent1584f469b06bfcdc20030ee14956e945ce9e31a5
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>
t/db_dependent/Circulation.t
t/lib/TestBuilder.pm