Bugzilla – Attachment 36928 Details for
Bug 13601
Get rid of DateTime::Format::DateParse
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13601: t/Letters.t needs to mock the dateformat pref
Bug-13601-tLetterst-needs-to-mock-the-dateformat-p.patch (text/plain), 671 bytes, created by
Jonathan Druart
on 2015-03-16 13:55:28 UTC
(
hide
)
Description:
Bug 13601: t/Letters.t needs to mock the dateformat pref
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-03-16 13:55:28 UTC
Size:
671 bytes
patch
obsolete
>From 274a1535b904f6262c05706069dec5a2c04f8510 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 16 Mar 2015 14:54:44 +0100 >Subject: [PATCH] Bug 13601: t/Letters.t needs to mock the dateformat pref > >--- > 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; >-- >2.1.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 13601
:
35405
|
35406
|
35407
|
35408
|
35433
|
36733
|
36734
|
36735
|
36736
|
36737
|
36745
|
36746
|
36747
|
36748
|
36754
|
36755
|
36756
|
36928
|
36933
|
36939
|
37023
|
37087
|
37088
|
37089
|
37090
|
37091
|
37092
|
37093