Bug 30838: (QA follow-up) Add unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 6 Jul 2022 10:54:35 +0000 (11:54 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 14 Sep 2022 09:43:53 +0000 (11:43 +0200)
commit440829305e5e370cca426589862306d42045e944
treed0b9726524ecfcdfb1f4badda1450e2c61a0637b
parent1b1931c93fc61307cc7db825b377f83bf2d06f9f
Bug 30838: (QA follow-up) Add unit tests

Two tests added, one in t/db_dependent/Circulation.t to catch the
initial setting of to_address at enqueue time and a second in
t/db_dependent/Letters.t to catch the correcting at send time.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 467b444c7e355b1ef3ecbab29f67544bfd72360b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 899898400f095a0cfbbae950bf2d46b8327db905)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
t/db_dependent/Circulation.t
t/db_dependent/Letters.t