From 534f39716199bf9148f1d556349d8f333932f3bc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Mar 2015 14:54:44 +0100 Subject: [PATCH] [PASSED QA] Bug 13601: t/Letters.t needs to mock the dateformat pref MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test passes OK. Signed-off-by: Marc VĂ©ron Signed-off-by: Katrin Fischer --- t/Letters.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/Letters.t b/t/Letters.t index 18ae129..4a088da 100755 --- 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; -- 1.9.1