Bugzilla – Attachment 65835 Details for
Bug 19042
Silence warnings t/db_dependent/Letters.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19042: Silence warnings t/db_dependent/Letters.t
Bug-19042-Silence-warnings-tdbdependentLetterst.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2017-08-10 18:03:50 UTC
(
hide
)
Description:
Bug 19042: Silence warnings t/db_dependent/Letters.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-10 18:03:50 UTC
Size:
1.14 KB
patch
obsolete
>From fcf7b222cb8a44c69ab0e7299743ef58106483e2 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 4 Aug 2017 14:24:38 -0400 >Subject: [PATCH] Bug 19042: Silence warnings t/db_dependent/Letters.t > >TEST PLAN >--------- >prove t/db_dependent/Letters.t >-- there will be a message: "C4::Context->userenv not defined!" >apply this patch >prove t/db_dependent/Letters.t >-- there will no longer be that message. >run qa test tools > >Signed-off-by: Lee Jamison <ldjamison@marywood.edu> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Letters.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t >index cbb2bec..c0a8a5d 100644 >--- a/t/db_dependent/Letters.t >+++ b/t/db_dependent/Letters.t >@@ -196,7 +196,9 @@ subtest 'getletter' => sub { > > my $context = Test::MockModule->new('C4::Context'); > $context->mock( 'userenv', sub { >- return { branch => "anotherlib" } >+ return { >+ flags => 1, >+ branch => "anotherlib" } > }); > > t::lib::Mocks::mock_preference('IndependentBranches', 1); >-- >2.1.4
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 19042
:
65510
|
65511
| 65835 |
65836