Bugzilla – Attachment 183045 Details for
Bug 40019
Koha/Auth/Client.t produces warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40019: Remove warnings from Koha/Auth/Client.t
Bug-40019-Remove-warnings-from-KohaAuthClientt.patch (text/plain), 1.44 KB, created by
Marcel de Rooy
on 2025-06-06 07:07:15 UTC
(
hide
)
Description:
Bug 40019: Remove warnings from Koha/Auth/Client.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-06-06 07:07:15 UTC
Size:
1.44 KB
patch
obsolete
>From 439f430baf8609aeec7e80973ef33eb4d0d84d83 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 28 May 2025 16:48:15 +0200 >Subject: [PATCH] Bug 40019: Remove warnings from Koha/Auth/Client.t >Content-Type: text/plain; charset=utf-8 > >Test plan: > prove t/db_dependent/Koha/Auth/Client.t >should return green > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Auth/Client.t | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Auth/Client.t b/t/db_dependent/Koha/Auth/Client.t >index bc2cbbbba3..ed51b19d04 100755 >--- a/t/db_dependent/Koha/Auth/Client.t >+++ b/t/db_dependent/Koha/Auth/Client.t >@@ -19,10 +19,11 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::More tests => 5; > > use Test::MockModule; > use Test::MockObject; >+use Test::NoWarnings; > use Test::Exception; > > use JSON qw(encode_json); >@@ -56,7 +57,8 @@ subtest 'get_user() tests' => sub { > } > } > ); >- my $patron = $builder->build_object( { class => 'Koha::Patrons', value => { email => 'patron@test.com' } } ); >+ my $patron = $builder->build_object( { class => 'Koha::Patrons', value => { email => 'patron@test.com' } } ); >+ t::lib::Mocks::mock_userenv( { patron => $patron } ); > my $mapping = { > email => 'electronic_mail', > firstname => 'given_name', >-- >2.39.5
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 40019
:
182824
|
182876
| 183045