]> git.koha-community.org Git - koha.git/commit
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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 15 May 2023 12:33:41 +0000 (12:33 +0000)
commit360b4f94b4a037813b2eb8b0979a30397aaf52e4
tree32828558b2182f1e9c4fb74bd7fba2e51520d0b8
parentef4b61dd080846cbfc89eb48380aabccd546edf1
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>
(cherry picked from commit 49803c311bd6359bf5bae40c9ab3bead75947a60)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
t/db_dependent/Letters.t