Bug 28803: Add unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 5 Aug 2021 07:43:32 +0000 (08:43 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 28 Sep 2021 08:22:36 +0000 (10:22 +0200)
commitfb027d7a45324772e06885d64b8b382ee1fb9b1e
tree2b30be40478f2abe114b44aa6fbe0bd311663464
parent1ac673e70543a4a33615d9b1b668c4246f99bb12
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>
t/db_dependent/Letters.t