View | Details | Raw Unified | Return to bug 18539
Collapse All | Expand All

(-)a/t/db_dependent/Serials/ReNewSubscription.t (-3 / +2 lines)
Lines 85-93 my $subscriptionhistory = $builder->build({ Link Here
85
85
86
# Renew the subscription and check that enddate has not been set
86
# Renew the subscription and check that enddate has not been set
87
ReNewSubscription($subscription->{subscriptionid},'',"2016-01-01",'','',12,'');
87
ReNewSubscription($subscription->{subscriptionid},'',"2016-01-01",'','',12,'');
88
my @history = Koha::Subscription::Histories->find($subscription->{subscriptionid});
88
my $history = Koha::Subscription::Histories->find($subscription->{subscriptionid});
89
89
90
is ( $history[0]->histenddate(), undef, 'subscription history not empty after renewal');
90
is ( $history->histenddate(), undef, 'subscription history not empty after renewal');
91
91
92
# End of tests
92
# End of tests
93
93
94
- 

Return to bug 18539