Bug 28870: Regression tests

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Tomas Cohen Arazi 2021-08-20 18:22:58 -03:00 committed by Kyle M Hall
parent fd479a1afd
commit e6ff06d263
1 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ subtest 'create() tests' => sub {
my $email = Koha::Email->create(
{
from => 'from@example.com',
to => 'to@example.com',
from => 'Fróm <from@example.com>',
to => 'Tö <to@example.com>',
cc => 'cc@example.com',
bcc => 'bcc@example.com',
reply_to => 'reply_to@example.com',
@ -49,8 +49,8 @@ subtest 'create() tests' => sub {
}
);
is( $email->email->header('From'), 'from@example.com', 'Value set correctly' );
is( $email->email->header('To'), 'to@example.com', 'Value set correctly' );
is( $email->email->header('From'), 'Fróm <from@example.com>', 'Value set correctly' );
is( $email->email->header('To'), 'Tö <to@example.com>', 'Value set correctly' );
is( $email->email->header('Cc'), 'cc@example.com', 'Value set correctly' );
is( $email->email->header('Bcc'), 'bcc@example.com', 'Value set correctly' );
is( $email->email->header('Reply-To'), 'reply_to@example.com', 'Value set correctly' );