[Rt-commit] r8729 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: t/web
sartak at bestpractical.com
sartak at bestpractical.com
Fri Aug 24 16:18:18 EDT 2007
Author: sartak
Date: Fri Aug 24 16:18:18 2007
New Revision: 8729
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/crypt-gnupg.t
Log:
r19925 at onn: sartak | 2007-08-24 16:18:14 -0400
Little cleanups
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/crypt-gnupg.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/crypt-gnupg.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/crypt-gnupg.t Fri Aug 24 16:18:18 2007
@@ -117,12 +117,12 @@
my $txn = $tick->Transactions->First;
my ($msg, @attachments) = @{$txn->Attachments->ItemsArrayRef};
- is( $msg->GetHeader('X-RT-Incoming-Encryption'),
- 'Success',
- "RT's outgoing mail looks encrypted"
- );
is( $msg->GetHeader('X-RT-Privacy'),
'PGP',
+ "RT's outgoing mail has crypto"
+ );
+ is( $msg->GetHeader('X-RT-Incoming-Encryption'),
+ 'Success',
"RT's outgoing mail looks encrypted"
);
@@ -166,7 +166,7 @@
my $body = strip_headers($mail);
$mail = << "MAIL";
-Subject: RT mail sent back into RT
+Subject: More RT mail sent back into RT
From: general\@example.com
To: recipient\@example.com
$mime_version
@@ -184,7 +184,7 @@
ok ($tick->id, "loaded ticket #$id");
is ($tick->Subject,
- "RT mail sent back into RT",
+ "More RT mail sent back into RT",
"Correct subject"
);
@@ -201,7 +201,7 @@
);
is( $msg->GetHeader('X-RT-Incoming-Signature'),
'general <general at example.com>',
- "recorded incoming mail that is signed"
+ "RT's outgoing mail looks signed"
);
like($attachments[0]->Content, qr/Some other content/, "RT's mail includes copy of ticket text");
More information about the Rt-commit
mailing list