Skip to content

Commit

Permalink
Update tests as RT-Send-Cc is cleared now
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnavy committed Sep 25, 2023
1 parent ce91124 commit 35548e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion t/mail/sendmail-plaintext.t
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ for my $encoding ('ISO-8859-1', 'UTF-8') {
{
my ($ticket) = mail_in_ticket('rt-send-cc');
my $cc = first_attach($ticket)->GetHeader('RT-Send-Cc');
like ($cc, qr/test$_/, "Found test $_") for 1..5;
ok (!$cc, "No RT-Send-Cc"); # RT-Send-Cc is supposed to be cleared
}

{
Expand Down
2 changes: 1 addition & 1 deletion t/mail/sendmail.t
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ for my $encoding ('ISO-8859-1', 'UTF-8') {
{
my ($ticket) = mail_in_ticket('rt-send-cc');
my $cc = first_attach($ticket)->GetHeader('RT-Send-Cc');
like ($cc, qr/test$_/, "Found test $_") for 1..5;
ok (!$cc, "No RT-Send-Cc"); # RT-Send-Cc is supposed to be cleared
}

{
Expand Down

0 comments on commit 35548e3

Please sign in to comment.