From 8e9639924b9a8cc6e6f391c09760379bd08fe7ac Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 20 Aug 2021 18:22:58 -0300 Subject: [PATCH 1/6] Bug 28870: Regression tests Content-Type: text/plain; charset="utf-8" Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- 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.25.1