From bf6385ec9a291cff65a462c133bcb9ad98577d1e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 17 Jul 2025 15:48:40 +0200 Subject: [PATCH] Bug 40438: Remove warnings from Koha/Old/Hold.t it's an integer. t/db_dependent/Koha/Old/Hold.t .. 1/3 Value not allowed for auto_incr biblionumber in Biblio at /kohadevbox/koha/t/lib/TestBuilder.pm line 431. --- t/db_dependent/Koha/Old/Hold.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/Old/Hold.t b/t/db_dependent/Koha/Old/Hold.t index 1204766b72a..70b33688406 100755 --- a/t/db_dependent/Koha/Old/Hold.t +++ b/t/db_dependent/Koha/Old/Hold.t @@ -17,7 +17,8 @@ use Modern::Perl; -use Test::More tests => 3; +use Test::More tests => 4; +use Test::NoWarnings; use Test::Exception; use Koha::Database; @@ -103,7 +104,7 @@ subtest 'biblio() tests' => sub { my $hold_2 = $builder->build_object( { class => 'Koha::Old::Holds', - value => { biblionumber => '' } + value => { biblionumber => undef } } ); -- 2.34.1