Koha-clms/t/Koha
Tomas Cohen Arazi 2d6a189e89 Bug 29330: Add Koha::Email->new_from_string
This patch introduces a new method to Koha::Email. This method allows us
to parse a MIME email to initialize the Koha::Email object. This is
particularly important when we are restoring emails from the DB. i.e.
from the *message_queue* table.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/Koha/Email.t
=> SUCCESS: Tests pass! Koha::Email->new_from_string is the correct
counterpart for Koha::Email->as_string!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2021-11-22 13:15:26 -05:00
..
Authority Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
I18N/po/xx_XX/LC_MESSAGES Bug 15395: Allow correct handling of plural translation 2018-11-08 15:55:50 +00:00
Middleware Bug 28200: Remove unit test using abbreviated format 2021-05-17 12:29:14 +02:00
Object Bug 26555: (QA follow-up) Add a 'payload' attribute for carrying useful things 2020-10-15 14:50:06 +02:00
Plugins Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
REST/Plugin Bug 27760: Improve readabiliity using map 2021-05-04 14:22:02 +02:00
SearchEngine Bug 29284: Unit test 2021-10-29 09:37:43 -04:00
Util Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Config.t Bug 28385: Add tests 2021-05-25 09:45:22 +02:00
Email.t Bug 29330: Add Koha::Email->new_from_string 2021-11-22 13:15:26 -05:00
Exceptions.t Bug 28056: Unit tests 2021-04-09 15:43:29 +02:00
I18N.t Bug 15395: Allow correct handling of plural translation 2018-11-08 15:55:50 +00:00
ItemType.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
RDF.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Script.t Bug 24786: Fix Script_cron.t and t/Koha/Script.t 2020-11-06 17:04:31 +01:00
Script_cron.t Bug 24786: Fix Script_cron.t and t/Koha/Script.t 2020-11-06 17:04:31 +01:00
Z3950responder.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
sleep.pl Bug 25109: Add ->new and ->lock_exec to Koha::Script 2020-04-14 16:56:57 +01:00
wait.pl Bug 25109: Add 'wait' tests 2020-04-14 16:57:01 +01:00