Bugzilla – Attachment 167344 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.36 KB, created by
Matt Blenkinsop
on 2024-06-03 13:33:50 UTC
(
hide
)
Description:
Bug 36938: Adjusts tests to remove warns
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-06-03 13:33:50 UTC
Size:
1.36 KB
patch
obsolete
>From f10b908e432ea73715513a7e37cf70b0b72998f4 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 > >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >--- > 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 1a5bf99fd2..ef8eb0ca54 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.3 (Apple Git-146)
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