From 4629a6d451afbb235c03c30e479b1c4894997614 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 14 May 2024 10:41:20 +0200 Subject: [PATCH] Bug 36018: Prevent random failure from api/v1/acquisitions_orders.t --- t/db_dependent/api/v1/acquisitions_orders.t | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/api/v1/acquisitions_orders.t b/t/db_dependent/api/v1/acquisitions_orders.t index be4867221d8..53b9cab12cd 100755 --- a/t/db_dependent/api/v1/acquisitions_orders.t +++ b/t/db_dependent/api/v1/acquisitions_orders.t @@ -61,9 +61,11 @@ subtest 'list() tests' => sub { { class => 'Koha::Acquisition::Orders', value => { - basketno => $basket->basketno, - orderstatus => 'new', - biblionumber => $biblio->biblionumber + basketno => $basket->basketno, + orderstatus => 'new', + biblionumber => $biblio->biblionumber, + quantityreceived => 0, + quantity => 1, } } ); -- 2.34.1