From e6ff06d263f5728c400dfb3de8f9704f06499a4c Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 20 Aug 2021 18:22:58 -0300 Subject: [PATCH] Bug 28870: Regression tests Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- t/Koha/Email.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/Koha/Email.t b/t/Koha/Email.t index af8030bbe6..030ce67e6f 100755 --- a/t/Koha/Email.t +++ b/t/Koha/Email.t @@ -37,8 +37,8 @@ subtest 'create() tests' => sub { my $email = Koha::Email->create( { - from => 'from@example.com', - to => 'to@example.com', + from => 'Fróm ', + to => 'Tö ', 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 ', 'Value set correctly' ); + is( $email->email->header('To'), 'Tö ', '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' ); -- 2.39.5