]> git.koha-community.org Git - koha.git/commit
Bug 19009: Fix random failures from Circulation.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 31 Jul 2017 14:18:23 +0000 (11:18 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 29 Sep 2017 08:59:55 +0000 (10:59 +0200)
commit0b445446018ad23a793f8d75c3be417d85e6c3f6
treec9a09e48d1a9ec2d95c463644b7bb54bc7c8e65f
parent300a76a573673b74ad0863c3b93c6ea3a66eb1ea
Bug 19009: Fix random failures from Circulation.t

From jenkins output:
 Subtest: CanBookBeIssued + Koha::Patron->is_debarred<7c>has_overdues
1..8
not ok 1
[SKIP]

I executed it several times and display the different $error, $alerts and question keys.
GNA and RESTRICTED were sometimes set, which block the issue.
Reading the code it seems that some patron's attributes must be removed to avoid the checkin rejection.

Test plan:
Execute the tests several times and notice that it fails randomly
With this patch they should always pass.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4bbec5c382590f881e6d2af62b2608fe9cf9e051)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation.t