projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 20123: (follow-up) Mock timezone in t/Auth_with_shibboleth.t
[koha.git]
/
t
/
Auth_with_shibboleth.t
diff --git
a/t/Auth_with_shibboleth.t
b/t/Auth_with_shibboleth.t
index
60bde68
..
5022b00
100644
(file)
--- 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');