Koha-clms/t/lib
Jonathan Druart ba7b962235
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

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 621b75ddf0)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-09-25 16:22:38 +02:00
..
IdP Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Koha/BackgroundJob Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Mocks Bug 39367: Automatic changes 2025-04-23 09:35:14 +02:00
QA Bug 39367: Manual changes 2025-04-23 09:35:15 +02:00
bad_plugins/Koha/Plugin Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
plugins/Koha/Plugin Bug 39870: Unit tests 2025-05-15 09:20:50 +02:00
Bootstrap.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Dates.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Mocks.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Selenium.pm Bug 39367: Manual changes 2025-04-23 09:35:15 +02:00
TestBuilder.pm Bug 40765: Prevent acquisition tests to fail if order.quantity = 0 2025-09-25 16:22:38 +02:00