From 370f49ea47db288d84a48920db64a3aaf0702e60 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 4 Mar 2021 08:21:29 +0000 Subject: [PATCH] Bug 26057: (QA follow-up) Fix Biblios test for datecancellation With the introduction of datecancellation we now have two fields to check to varify if a transfer is 'complete' or not. I forgot to update this test at the time to ensure the datecancellation field was not set when adding the mock transfer. Signed-off-by: Martin Renvoize --- t/db_dependent/Koha/Biblios.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Biblios.t b/t/db_dependent/Koha/Biblios.t index 82229f1f35..994bd9611b 100755 --- a/t/db_dependent/Koha/Biblios.t +++ b/t/db_dependent/Koha/Biblios.t @@ -120,7 +120,8 @@ subtest 'waiting_or_in_transit' => sub { source => 'Branchtransfer', value => { itemnumber => $item->itemnumber, - datearrived => undef + datearrived => undef, + datecancelled => undef, } }); my $t = Koha::Database->new()->schema()->resultset( 'Branchtransfer' )->find($transfer->{branchtransfer_id}); -- 2.20.1