Bugzilla – Attachment 74043 Details for
Bug 20123
Allow multiple instances of Koha to have different timezones on the same server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20123: (follow-up) Mock timezone in t/Auth_with_shibboleth.t
Bug-20123-follow-up-Mock-timezone-in-tAuthwithshib.patch (text/plain), 834 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2018-04-11 21:09:25 UTC
(
hide
)
Description:
Bug 20123: (follow-up) Mock timezone in t/Auth_with_shibboleth.t
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-04-11 21:09:25 UTC
Size:
834 bytes
patch
obsolete
>From 6d51560a3c93e7c04322e6a358df537da3ab7b30 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 11 Apr 2018 18:08:56 -0300 >Subject: [PATCH] Bug 20123: (follow-up) Mock timezone in > t/Auth_with_shibboleth.t > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/Auth_with_shibboleth.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/Auth_with_shibboleth.t b/t/Auth_with_shibboleth.t >index 60bde6896c..5022b008eb 100644 >--- a/t/Auth_with_shibboleth.t >+++ b/t/Auth_with_shibboleth.t >@@ -65,6 +65,9 @@ $context->mock( 'config', \&mockedConfig ); > my $OPACBaseURL = "testopac.com"; > $context->mock( 'preference', \&mockedPref ); > >+### Mock ->tz >+$context->mock( 'timezone', sub { return 'local'; } ); >+ > ## Mock Database > my $database = new Test::MockModule('Koha::Database'); > >-- >2.17.0
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 20123
:
71125
|
71839
|
71840
|
72080
|
72081
|
72202
|
72255
|
72603
|
72605
|
73687
|
73688
|
73689
|
73690
| 74043