https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40765 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 186255 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186255&action=edit Bug 40765: Prevent acquisition tests to fail if order.quantity = 0 When using TestBuilder to build an order the tests will fail when the object will be saved: 00:09:41 koha-1 | # Looks like you planned 58 tests but ran 26. 00:09:41 koha-1 | 00:09:41 koha-1 | # Failed test 'cancel() tests' 00:09:41 koha-1 | # at t/db_dependent/Koha/Acquisition/Order.t line 1042. 00:09:41 koha-1 | Cannot insert order: Mandatory parameter quantity is missing at t/db_dependent/Koha/Acquisition/Order.t line 868. 00:09:41 koha-1 | # Looks like your test exited with 255 just after 14. 00:09:41 koha-1 | [22:03:54] t/db_dependent/Koha/Acquisition/Order.t This happened on Koha_Main/3350 -- You are receiving this mail because: You are watching all bug changes.