Bugzilla – Attachment 57501 Details for
Bug 17599
Move C4::Circulation::GetIssuingRule to Koha::IssuingRules->get_effective_issuing_rule
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17599: (QA followup) Remove userenv warning
Bug-17599-QA-followup-Remove-userenv-warning.patch (text/plain), 1.20 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-11-15 15:28:53 UTC
(
hide
)
Description:
Bug 17599: (QA followup) Remove userenv warning
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-11-15 15:28:53 UTC
Size:
1.20 KB
patch
obsolete
>From 62ffbedd3cf48fea365e0b2ad6d60fb130851884 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 15 Nov 2016 12:27:33 -0300 >Subject: [PATCH] Bug 17599: (QA followup) Remove userenv warning > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/Reserves.t | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index 1b8f19c..29f6b00 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -41,12 +41,6 @@ BEGIN { > require_ok('C4::Reserves'); > } > >-# a very minimal mack of userenv for use by the test of DelItemCheck >-my $module = new Test::MockModule('C4::Context'); >-$module->mock('userenv', sub { >- { } >-}); >- > # Start transaction > my $database = Koha::Database->new(); > my $schema = $database->schema(); >@@ -70,6 +64,9 @@ my $category_2 = $builder->build({ source => 'Category' })->{ categorycode }; > my $itemtype = $builder->build( > { source => 'Itemtype', value => { notforloan => undef } } )->{itemtype}; > >+C4::Context->set_userenv( >+ undef, undef, undef, undef, undef, undef, $branch_1 >+); > > # Create a helper biblio > my $bib = MARC::Record->new(); >-- >2.7.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 17599
:
57393
|
57494
|
57501
|
57502
|
57503
|
57504
|
57506