Bugzilla – Attachment 167058 Details for
Bug 36919
t/db_dependent/Koha/Object.t produces warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36919: Remove another warning from Koha/Object.t
Bug-36919-Remove-another-warning-from-KohaObjectt.patch (text/plain), 883 bytes, created by
David Nind
on 2024-05-23 04:16:12 UTC
(
hide
)
Description:
Bug 36919: Remove another warning from Koha/Object.t
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-23 04:16:12 UTC
Size:
883 bytes
patch
obsolete
>From 10eaf808d2657088ea3f361cf8a40bd9b541b312 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 22 May 2024 11:22:44 +0200 >Subject: [PATCH] Bug 36919: Remove another warning from Koha/Object.t > >C4::Context->userenv not defined! at /kohadevbox/koha/Koha/Patron.pm >line 1890. > >Signed-off-by: David Nind <david@davidnind.com> >--- > t/db_dependent/Koha/Object.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Koha/Object.t b/t/db_dependent/Koha/Object.t >index 28ac6e5e94..19f8697856 100755 >--- a/t/db_dependent/Koha/Object.t >+++ b/t/db_dependent/Koha/Object.t >@@ -383,6 +383,8 @@ subtest "to_api() tests" => sub { > } > ); > >+ t::lib::Mocks::mock_userenv( { patron => $patron } ); >+ > my $patron_api = $patron->to_api( > { > embed => { holds_count => { is_count => 1 } }, >-- >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 36919
:
167014
|
167015
|
167016
|
167057
|
167058
|
167059
|
170777
|
170778
|
170779