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.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit dd54cd5062)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-07-17 15:48:40 +02:00 committed by Paul Derscheid
parent 48a06d1513
commit b3bddd0703
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 3 additions and 2 deletions

View File

@ -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 }
}
);