projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0489f9d
)
Bug 13601: t/Letters.t needs to mock the dateformat pref
author
Jonathan Druart
<jonathan.druart@biblibre.com>
Mon, 16 Mar 2015 13:54:44 +0000
(14:54 +0100)
committer
Tomas Cohen Arazi
<tomascohen@gmail.com>
Mon, 30 Mar 2015 16:40:05 +0000
(13:40 -0300)
Test passes OK.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/Letters.t
patch
|
blob
|
history
diff --git
a/t/Letters.t
b/t/Letters.t
index
18ae129
..
4a088da
100755
(executable)
--- a/
t/Letters.t
+++ b/
t/Letters.t
@@
-42,6
+42,8
@@
my $dbh = C4::Context->dbh();
$dbh->{mock_add_resultset} = $mock_letters;
+t::lib::Mocks::mock_preference('dateformat', 'metric');
+
my $letters = C4::Letters::GetLetters();
my ( $ISBN_letter ) = grep {$_->{code} eq 'ISBN'} @$letters;