Bug 33403: Fix Letters.t if number pattern with id=1 does not exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 10 May 2023 10:34:08 +0000 (12:34 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 10 May 2023 18:26:27 +0000 (15:26 -0300)
commit49803c311bd6359bf5bae40c9ab3bead75947a60
treec48fcf36a2ddd08593f4bae330e622e92231e7c9
parente791b3b6a634796afd89c2a378506e0c96c754ea
Bug 33403: Fix Letters.t if number pattern with id=1 does not exist

Bad assumption in DB, we should create the data we need

Test plan:
> delete from subscription_numberpatterns;

prove t/db_dependent/Letters.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Letters.t