Bug 28803: Add unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 5 Aug 2021 07:43:32 +0000 (08:43 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 22 Nov 2021 11:42:05 +0000 (06:42 -0500)
commit850308faaba761be908239d1e84f435570c6e2f3
tree51db9d0e1e8e8264aaab05831784dbb60683bcd5
parent0b428c36db956965bad008f419047aac0b7608d8
Bug 28803: Add unit tests

This patch updates Letters.t to confirm that invalid email addresses in
the message_queue should not throw an exception when sending mail but
instead set the status to failed and pass error details to the end user.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Letters.t