Bugzilla – Attachment 117633 Details for
Bug 26057
Add Koha::Item::Transfer->cancel method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26057: (QA follow-up) Fix Biblios and Reserves tests
Bug-26057-QA-follow-up-Fix-Biblios-and-Reserves-te.patch (text/plain), 1.65 KB, created by
Martin Renvoize (ashimema)
on 2021-03-04 08:34:41 UTC
(
hide
)
Description:
Bug 26057: (QA follow-up) Fix Biblios and Reserves tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-04 08:34:41 UTC
Size:
1.65 KB
patch
obsolete
>From 63c70609fcdb6ec5cd2b50b3b56ce7c64c190ee0 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 4 Mar 2021 08:21:29 +0000 >Subject: [PATCH] Bug 26057: (QA follow-up) Fix Biblios and Reserves tests > >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 >these two tests at the time to ensure the datecancellation field was not >set when adding the mock transfer. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Koha/Biblios.t | 3 ++- > t/db_dependent/Reserves.t | 1 + > 2 files changed, 3 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}); >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index 4faab3c218..2b47ebce5e 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -866,6 +866,7 @@ subtest 'ReservesNeedReturns' => sub { > value => { > itemnumber => $item->itemnumber, > datearrived => undef, >+ datecancelled => undef > } > }); > $item->damaged(0)->store; >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26057
:
110476
|
110477
|
111279
|
116554
|
116555
|
116556
|
117585
|
117586
|
117587
|
117588
|
117632
|
117633
|
117635