Bugzilla – Attachment 43596 Details for
Bug 15028
t/db_dependent/Letters.t should set the numbering pattern it needs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 15028: Make t/db_dependent/Letters.t set the numbering pattern it needs
PASSED-QA-Bug-15028-Make-tdbdependentLetterst-set-.patch (text/plain), 1.14 KB, created by
Kyle M Hall (khall)
on 2015-10-19 14:50:51 UTC
(
hide
)
Description:
[PASSED QA] Bug 15028: Make t/db_dependent/Letters.t set the numbering pattern it needs
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-10-19 14:50:51 UTC
Size:
1.14 KB
patch
obsolete
>From ba31d23b10c6ea52c4f9c679fff834b2a9c280ea Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 19 Oct 2015 14:42:50 +0100 >Subject: [PATCH] [PASSED QA] Bug 15028: Make t/db_dependent/Letters.t set the numbering pattern it needs > >On some jenkins DBs, this pattern is "No.{X}" instead of "No. {X}" and >the test fails ("Serial notification text constructed successfully"). > >Tests should always create their own data. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/db_dependent/Letters.t | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t >index 1a21d31..abeeb8b 100644 >--- a/t/db_dependent/Letters.t >+++ b/t/db_dependent/Letters.t >@@ -401,6 +401,7 @@ use C4::Serials; > > my $notes = 'notes'; > my $internalnotes = 'intnotes'; >+$dbh->do(q|UPDATE subscription_numberpatterns SET numberingmethod='No. {X}' WHERE id=1|); > my $subscriptionid = NewSubscription( > undef, "", undef, undef, undef, $biblionumber, > '2013-01-01', 1, undef, undef, undef, >-- >1.7.2.5
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 15028
:
43594
|
43595
| 43596