Bugzilla – Attachment 170778 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), 940 bytes, created by
Lucas Gass (lukeg)
on 2024-08-27 16:41:01 UTC
(
hide
)
Description:
Bug 36919: Remove another warning from Koha/Object.t
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-08-27 16:41:01 UTC
Size:
940 bytes
patch
obsolete
>From bf338638eec7143234398496cc5cc9d8c55e5aa9 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> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.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 abf21295308..17ab523b7a9 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