Bugzilla – Attachment 166401 Details for
Bug 31627
Add ability to embed the letter ID in outgoing email notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31627: (QA follow-up) Tidy test block
Bug-31627-QA-follow-up-Tidy-test-block.patch (text/plain), 3.18 KB, created by
Martin Renvoize (ashimema)
on 2024-05-08 12:33:20 UTC
(
hide
)
Description:
Bug 31627: (QA follow-up) Tidy test block
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-08 12:33:20 UTC
Size:
3.18 KB
patch
obsolete
>From 42053f406f3f01257e287d511e79d51d9ca4dbe8 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 8 May 2024 13:32:14 +0100 >Subject: [PATCH] Bug 31627: (QA follow-up) Tidy test block > >--- > t/Koha/Email.t | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-) > >diff --git a/t/Koha/Email.t b/t/Koha/Email.t >index a9ff4c3be3c..5c487e14eda 100755 >--- a/t/Koha/Email.t >+++ b/t/Koha/Email.t >@@ -51,20 +51,20 @@ subtest 'create() tests' => sub { > } > ); > >- 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' ); >- 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' ); >- is( $email->email->header('X-Koha-Template-Id'), 1, 'Value set correctly' ); >- is( $email->email->header('X-Koha-Message-Id'), 1, 'Value set correctly' ); >- is( $email->email->body, $html_body, "Body set correctly" ); >- like( $email->email->content_type, qr|text/html|, "Content type set correctly"); >- like( $email->email->content_type, qr|charset="?iso-8859-1"?|, "Charset set correctly"); >- like( $email->email->header('Message-ID'), qr/\<.*@.*\>/, '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' ); >+ 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' ); >+ is( $email->email->header('X-Koha-Template-Id'), 1, 'Value set correctly' ); >+ is( $email->email->header('X-Koha-Message-Id'), 1, 'Value set correctly' ); >+ is( $email->email->body, $html_body, "Body set correctly" ); >+ like( $email->email->content_type, qr|text/html|, "Content type set correctly" ); >+ like( $email->email->content_type, qr|charset="?iso-8859-1"?|, "Charset set correctly" ); >+ like( $email->email->header('Message-ID'), qr/\<.*@.*\>/, 'Value set correctly' ); > > $email = Koha::Email->create( > { >-- >2.45.0
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 31627
:
140998
|
141025
|
142826
|
143022
|
151536
|
151537
|
155364
|
166374
|
166375
|
166376
|
166377
|
166378
|
166379
|
166399
|
166400
| 166401