Bugzilla – Attachment 167275 Details for
Bug 36938
Biblio.t generates warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36938: Adjusts tests to remove warns
Bug-36938-Adjusts-tests-to-remove-warns.patch (text/plain), 1.28 KB, created by
Nick Clemens (kidclamp)
on 2024-05-30 15:20:32 UTC
(
hide
)
Description:
Bug 36938: Adjusts tests to remove warns
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-05-30 15:20:32 UTC
Size:
1.28 KB
patch
obsolete
>From c2d4803f0315b746012b30dd6966b1a19da41e8a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 30 May 2024 15:19:55 +0000 >Subject: [PATCH] Bug 36938: Adjusts tests to remove warns > >--- > t/db_dependent/Biblio.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Biblio.t b/t/db_dependent/Biblio.t >index 1a5bf99fd2e..ef8eb0ca545 100755 >--- a/t/db_dependent/Biblio.t >+++ b/t/db_dependent/Biblio.t >@@ -98,6 +98,7 @@ subtest 'AddBiblio' => sub { > }); > warning_like { $builder->build_sample_biblio(); } > qr/My biblionumber is \d+ and my frameworkcode is /, "The biblionumber is correctly passed to BiblioAutoLink"; >+ $mock_biblio->unmock('BiblioAutoLink'); > > subtest 'record_source_id param tests' => sub { > >@@ -861,7 +862,7 @@ subtest "LinkBibHeadingsToAuthorities record generation tests" => sub { > # Set up mocks to ensure authorities are generated > my $biblio_mod = Test::MockModule->new( 'C4::Linker::Default' ); > $biblio_mod->mock( 'get_link', sub { >- return (undef,undef); >+ return (undef,undef,0); > }); > # UNIMARC valid headings are built from the marc_subfield_structure for bibs and > # include all subfields as valid, testing with MARC21 should be sufficient for now >-- >2.39.2
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 36938
:
167275
|
167344