Bugzilla – Attachment 65510 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.02 KB, created by
Mark Tompsett
on 2017-08-04 18:27:04 UTC
(
hide
)
Description:
Bug 19042: Silence warnings t/db_dependent/Letters.t
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-08-04 18:27:04 UTC
Size:
1.02 KB
patch
obsolete
>From 4fba0c7510580754fcf7567da85d3e76316c9604 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 >--- > 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