projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.0.19
[freeside.git]
/
rt
/
t
/
web
/
gnupg-select-keys-on-update.t
diff --git
a/rt/t/web/gnupg-select-keys-on-update.t
b/rt/t/web/gnupg-select-keys-on-update.t
index
1509d1d
..
a5b01d3
100644
(file)
--- a/
rt/t/web/gnupg-select-keys-on-update.t
+++ b/
rt/t/web/gnupg-select-keys-on-update.t
@@
-1,7
+1,7
@@
use strict;
use warnings;
use strict;
use warnings;
-use RT::Test::GnuPG tests => 8
6
, gnupg_options => { passphrase => 'rt-test' };
+use RT::Test::GnuPG tests => 8
8
, gnupg_options => { passphrase => 'rt-test' };
use RT::Action::SendEmail;
use RT::Action::SendEmail;
@@
-82,7
+82,10
@@
diag "check that things don't work if there is no key";
my @mail = RT::Test->fetch_caught_mails;
ok !@mail, 'there are no outgoing emails';
my @mail = RT::Test->fetch_caught_mails;
ok !@mail, 'there are no outgoing emails';
- $m->next_warning_like(qr/public key not found/) for 1 .. 2;
+ for (1 .. 2) {
+ $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;
}
$m->no_leftover_warnings_ok;
}