]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 7 May 2018 16:15:34 +0000 (13:15 -0300)
commit8bb531b5308635d53345cd04617b47acb076970e
tree5fc6b54e064799db4af6afe48426b7bfef1deefc
parent9a1bed84d6ac0ac5b0b9ee631363bc9cb0d74b73
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>
t/db_dependent/Circulation.t
t/lib/TestBuilder.pm