From ed3837b08c60e27d7d2e967cc1898b475c113666 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] Bug 15028: tests - force the numbering pattern to 'No. {X}'

On some jenkins DB, this pattern is "No.{X}" instead of "No. {X}" and
the test fails ("Serial notification text constructed successfully").
---
 t/db_dependent/Letters.t | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
2.1.0