Bugzilla – Attachment 118666 Details for
Bug 28023
Typo in Reply-To header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28023: Regression tests
Bug-28023-Regression-tests.patch (text/plain), 2.08 KB, created by
Martin Renvoize (ashimema)
on 2021-03-23 14:31:33 UTC
(
hide
)
Description:
Bug 28023: Regression tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-23 14:31:33 UTC
Size:
2.08 KB
patch
obsolete
>From a438a21dfd65c091b67f92ca05bc7ce46a56ae75 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 23 Mar 2021 11:14:37 -0300 >Subject: [PATCH] Bug 28023: Regression tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/Koha/Email.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/Koha/Email.t b/t/Koha/Email.t >index 1c46fcc284..0d4ab411f6 100755 >--- a/t/Koha/Email.t >+++ b/t/Koha/Email.t >@@ -51,7 +51,7 @@ subtest 'create() tests' => sub { > is( $email->email->header('To'), '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('ReplyTo'), 'reply_to@example.com', 'Value set correctly' ); >+ is( $email->email->header('Reply-To'), 'reply_to@example.com', 'Value set correctly' ); > is( $email->email->header('Sender'), 'sender@example.com', 'Value set correctly' ); > is( $email->email->header('Subject'), 'Some subject', 'Value set correctly' ); > is( $email->email->header('X-Mailer'), 'Koha', 'Value set correctly' ); >@@ -78,7 +78,7 @@ subtest 'create() tests' => sub { > is( $email->email->header('To'), 'catchall@example.com', 'SendAllEmailsTo overloads any address' ); > is( $email->email->header('Cc'), undef, 'SendAllEmailsTo overloads any address' ); > is( $email->email->header('Bcc'), undef, 'SendAllEmailsTo overloads any address' ); >- is( $email->email->header('ReplyTo'), 'replytodefault@example.com', 'ReplytoDefault picked when replyto not passed' ); >+ is( $email->email->header('Reply-To'), 'replytodefault@example.com', 'ReplytoDefault picked when replyto not passed' ); > is( $email->email->header('Sender'), 'returnpathdefault@example.com', 'ReturnpathDefault picked when sender not passed' ); > is( $email->email->header('Subject'), '', 'No subject passed, empty string' ); > is( $email->email->body, $text_body, "Body set correctly" ); >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28023
:
118661
|
118662
| 118666 |
118667