Bugzilla – Attachment 184202 Details for
Bug 40438
Koha/Old/Hold.t generates warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40438: Remove warnings from Koha/Old/Hold.t
Bug-40438-Remove-warnings-from-KohaOldHoldt.patch (text/plain), 1.10 KB, created by
Jonathan Druart
on 2025-07-17 13:50:40 UTC
(
hide
)
Description:
Bug 40438: Remove warnings from Koha/Old/Hold.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-17 13:50:40 UTC
Size:
1.10 KB
patch
obsolete
>From bf6385ec9a291cff65a462c133bcb9ad98577d1e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40438
:
184202
|
184203
|
184373