Bugzilla – Attachment 156102 Details for
Bug 32496
Reduce unnecessary unblessings of objects in Circulation.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32496: Fix t/db_dependent/SIP/ILS.t
Bug-32496-Fix-tdbdependentSIPILSt.patch (text/plain), 1.36 KB, created by
Jonathan Druart
on 2023-09-22 14:56:54 UTC
(
hide
)
Description:
Bug 32496: Fix t/db_dependent/SIP/ILS.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-09-22 14:56:54 UTC
Size:
1.36 KB
patch
obsolete
>From 08dd1a495d12a8da6f17042f1dd9a178374a4b0b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 22 Sep 2023 16:55:59 +0200 >Subject: [PATCH] Bug 32496: Fix t/db_dependent/SIP/ILS.t > >--- > C4/SIP/ILS/Transaction/Renew.pm | 2 +- > t/db_dependent/SIP/ILS.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/SIP/ILS/Transaction/Renew.pm b/C4/SIP/ILS/Transaction/Renew.pm >index 0d663265432..75ce5b569af 100644 >--- a/C4/SIP/ILS/Transaction/Renew.pm >+++ b/C4/SIP/ILS/Transaction/Renew.pm >@@ -47,7 +47,7 @@ sub do_renew_for { > > } > if ($renewokay){ >- my $issue = AddIssue( $patron->unblessed, $self->{item}->id, undef, 0 ); >+ my $issue = AddIssue( $patron, $self->{item}->id, undef, 0 ); > $self->{due} = $self->duedatefromissue($issue, $self->{item}->{itemnumber}); > $self->renewal_ok(1); > } else { >diff --git a/t/db_dependent/SIP/ILS.t b/t/db_dependent/SIP/ILS.t >index 5943e4036e2..b0bcdbfd8d4 100755 >--- a/t/db_dependent/SIP/ILS.t >+++ b/t/db_dependent/SIP/ILS.t >@@ -345,7 +345,7 @@ subtest renew => sub { > } > ); > >- AddIssue( $patron->unblessed, $item->barcode, undef, 0 ); >+ AddIssue( $patron, $item->barcode, undef, 0 ); > my $checkout = $item->checkout; > ok( defined($checkout), "Successfully checked out an item prior to renewal" ); > >-- >2.25.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 32496
:
144722
|
144723
|
144789
|
144804
|
145024
|
145027
|
147158
|
147162
|
150614
|
153017
|
153018
|
153517
|
153518
|
153519
|
156059
|
156060
|
156061
|
156080
|
156081
|
156082
|
156099
|
156102
|
156103