From 227166d89804c8ac3d62278aa683b3bb83e401e4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Mar 2015 14:54:44 +0100 Subject: [PATCH] [Signed-off] 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 --- 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.7.10.4