https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24813 --- Comment #12 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Tomás Cohen Arazi from comment #11)
(In reply to Jonathan Druart from comment #10)
It's not related to 500 but 400. There is a Koha::Exceptions::Hold::CannotSuspendFound that is raised and we need to see it somewhere.
My gut feeling is we should somehow overload Test::Mojo so it does ->or( sub { diag $t->tx->res->to_string } ), or just add it everywhere and enforce it as a coding guideline.
This would give us more light on handled exceptions, but we still need something for unhandled exceptions, in the lines of bug 18206 (probably making use of a helper instead, but you get the point).
That's not only API related, it's exception related. For instance I get that this morning: t/db_dependent/Koha/Object.t .. 9/20 # No tests run! # Failed test 'No tests run for subtest "attributes_from_api() tests"' # at t/db_dependent/Koha/Object.t line 568. [A bad parameter was given]# Looks like your test exited with 255 just after 14. It's impossible to track down where it comes from... -- You are receiving this mail because: You are watching all bug changes.