[Koha-bugs] [Bug 24813] api/v1/holds.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 5 16:35:12 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24813

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #100200|0                           |1
        is obsolete|                            |

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 100201
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100201&action=edit
Bug 24813: Prevent api/v1/holds.t to fail randomly

Hold cannot be suspended if found=W:
Koha::Hold->suspend_hold
 90     if ( $self->is_found ) {    # We can't suspend found holds

So when TestBuilder generate a hold with found=W the test fail.

A question however:
Why did not we have the correct exception displayed somewhere? That
would be much more helpful to find the problem!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list