Bug 26948: Regression tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 12 Nov 2020 13:36:00 +0000 (13:36 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 12 Nov 2020 16:09:52 +0000 (17:09 +0100)
commit64ee6f0b2bbcc9b23520c689146f1c5cf905e997
treee121de5f8ab020494ecfb71bfc969b10a1e92702
parent4415fdb0f4785dff24c9773f85a9b32885c385ac
Bug 26948: Regression tests

We already mock the send_or_die method from Email::Stuffer; This patch
updates that mock to extract the internal representation of the email
encoded message and looks for a known double encoded representation of a
character in the sample body.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Letters.t