From f8e65fcb9c6b7ac51ec55bbd7bae8e727d782b52 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 14 Nov 2024 09:48:10 +0100 Subject: [PATCH] Bug 38011: Fix ReNewSubscription.t t/db_dependent/Serials/ReNewSubscription.t .. Value not allowed for auto_incr id in Aqbookseller at /kohadevbox/koha/t/lib/TestBuilder.pm line 402. Null value for subscriptionid in Subscriptionhistory not allowed at /kohadevbox/koha/t/lib/TestBuilder.pm line 415. Can't call method "enddate" on an undefined value at t/db_dependent/Serials/ReNewSubscription.t line 102. It's failing when no vendor with id=1 in DB. --- t/db_dependent/Serials/ReNewSubscription.t | 1 - 1 file changed, 1 deletion(-) diff --git a/t/db_dependent/Serials/ReNewSubscription.t b/t/db_dependent/Serials/ReNewSubscription.t index 4635da543b2..84ab1c01b24 100755 --- a/t/db_dependent/Serials/ReNewSubscription.t +++ b/t/db_dependent/Serials/ReNewSubscription.t @@ -68,7 +68,6 @@ my $subscription = $builder->build({ biblionumber => $biblio->biblionumber, startdate => '2015-01-01', enddate => '2015-12-31', - aqbooksellerid => 1, periodicity => $frequency->{id}, numberpattern => $pattern->{id}, monthlength => 12, -- 2.34.1