From 391aeaa9a87a3962c92a62dff918c6175c63b9b6 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 10 May 2024 08:37:32 +0000 Subject: [PATCH] Bug 35994: (QA follow-up) Fix Biblio.t A follow-up changed orders->cancel a bit. This test assumed to cancel completed lines here. So we are doing it now with a direct update to have the original result. Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- t/db_dependent/Koha/Biblio.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Biblio.t b/t/db_dependent/Koha/Biblio.t index 56c58f1535..9dda4f9f82 100755 --- a/t/db_dependent/Koha/Biblio.t +++ b/t/db_dependent/Koha/Biblio.t @@ -999,7 +999,7 @@ subtest '->orders, ->uncancelled_orders and ->acq_status tests' => sub { is( $biblio->acq_status, 'processing', 'Still processing for presence of new lines' ); $orders->filter_out_cancelled->update( { orderstatus => 'complete' } ); is( $biblio->acq_status, 'acquired', 'Acquired: some complete, rest cancelled' ); - $orders->cancel; + $orders->update( { orderstatus => 'cancelled', datecancellationprinted => dt_from_string() } ); is( $biblio->acq_status, 'cancelled', 'Cancelled for only cancelled lines' ); $schema->storage->txn_rollback; -- 2.20.1