Bug 18539: remove occurrence in ReNewSubscription.t
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commitad7ff09b99) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit6e26bd0567) Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
c5b576135a
commit
12d8885eef
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue