diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
commit | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (patch) | |
tree | 96922ad4459eda1e649327fd391d60c58d454c53 /rt/t/mail/gnupg-reverification.t | |
parent | 4f5619288413a185e9933088d9dd8c5afbc55dfa (diff) |
RT 4.2.11, ticket#13852
Diffstat (limited to 'rt/t/mail/gnupg-reverification.t')
-rw-r--r-- | rt/t/mail/gnupg-reverification.t | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rt/t/mail/gnupg-reverification.t b/rt/t/mail/gnupg-reverification.t index deef1ec24..06c2e0d40 100644 --- a/rt/t/mail/gnupg-reverification.t +++ b/rt/t/mail/gnupg-reverification.t @@ -1,7 +1,7 @@ use strict; use warnings; -use RT::Test::GnuPG tests => 232, gnupg_options => { passphrase => 'rt-test' }; +use RT::Test::GnuPG tests => undef, gnupg_options => { passphrase => 'rt-test' }; diag "load Everyone group"; my $everyone; @@ -46,8 +46,7 @@ foreach my $file ( @files ) { is $status >> 8, 0, "$eid: the mail gateway exited normally"; ok $id, "$eid: got id of a newly created ticket - $id"; - like($warnings, qr/Had a problem during decrypting and verifying/); - like($warnings, qr/public key not found/); + like($warnings, qr/Public key '0xD328035D84881F1B' is not available/); my $ticket = RT::Ticket->new( RT->SystemUser ); $ticket->Load( $id ); @@ -62,12 +61,10 @@ foreach my $file ( @files ) { $m->content_like(qr/This is .*ID:$eid/ims, "$eid: content is there and message is decrypted"); $m->next_warning_like(qr/public key not found/); - $m->next_warning_like(qr/above error may result from an unconfigured RT\/GPG/); # some mails contain multiple signatures if ($eid == 5 || $eid == 17 || $eid == 18) { $m->next_warning_like(qr/public key not found/); - $m->next_warning_like(qr/above error may result from an unconfigured RT\/GPG/); } $m->no_leftover_warnings_ok; @@ -90,3 +87,5 @@ foreach my $id ( @ticket_ids ) { $m->no_warnings_ok; } +undef $m; +done_testing; |