From 33994650f08612b5181aa200098e8e1e8755ded9 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: Jonathan Druart --- 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 a5c56df215..03da6eb659 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