Bugzilla – Attachment 65458 Details for
Bug 18539
Forbid Koha::Objects->find calls in list context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18539: remove occurrence in ReNewSubscription.t
Bug-18539-remove-occurrence-in-ReNewSubscriptiont.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2017-08-03 13:35:03 UTC
(
hide
)
Description:
Bug 18539: remove occurrence in ReNewSubscription.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-03 13:35:03 UTC
Size:
1.22 KB
patch
obsolete
>From ad7ff09b995e5275f2c6d664b31351321b1674af Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 15 Jun 2017 15:46:17 -0300 >Subject: [PATCH] Bug 18539: remove occurrence in ReNewSubscription.t > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Serials/ReNewSubscription.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Serials/ReNewSubscription.t b/t/db_dependent/Serials/ReNewSubscription.t >index 43cc4e816c..a214a97aa0 100644 >--- a/t/db_dependent/Serials/ReNewSubscription.t >+++ b/t/db_dependent/Serials/ReNewSubscription.t >@@ -85,9 +85,9 @@ my $subscriptionhistory = $builder->build({ > > # Renew the subscription and check that enddate has not been set > ReNewSubscription($subscription->{subscriptionid},'',"2016-01-01",'','',12,''); >-my @history = Koha::Subscription::Histories->find($subscription->{subscriptionid}); >+my $history = Koha::Subscription::Histories->find($subscription->{subscriptionid}); > >-is ( $history[0]->histenddate(), undef, 'subscription history not empty after renewal'); >+is ( $history->histenddate(), undef, 'subscription history not empty after renewal'); > > # End of tests > >-- >2.11.0
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 18539
:
63110
|
64338
|
64351
| 65458