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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
a011cbd2e2
commit
87312888ab
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue