[Rt-commit] r8864 - in rt/branches/3.7-EXPERIMENTAL: t/mail
ruz at bestpractical.com
ruz at bestpractical.com
Fri Aug 31 16:36:48 EDT 2007
Author: ruz
Date: Fri Aug 31 16:36:47 2007
New Revision: 8864
Removed:
rt/branches/3.7-EXPERIMENTAL/lib/t/data/mail/encrypted-badsig.txt
Modified:
rt/branches/3.7-EXPERIMENTAL/t/mail/gnupg-bad.t
Log:
* remove a test and email, we have similar test in reverification
with better coverage
Modified: rt/branches/3.7-EXPERIMENTAL/t/mail/gnupg-bad.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/t/mail/gnupg-bad.t (original)
+++ rt/branches/3.7-EXPERIMENTAL/t/mail/gnupg-bad.t Fri Aug 31 16:36:47 2007
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use strict;
use warnings;
-use Test::More tests => 14;
+use Test::More tests => 6;
use RT::Test;
use Cwd 'getcwd';
@@ -33,18 +33,6 @@
ok($user->Load('root'), "Loaded user 'root'");
$user->SetEmailAddress('rt at example.com');
-diag "good encryption, unknown signer" if $ENV{TEST_VERBOSE};
-{
- my $signer = RT::Test->load_or_create_user(EmailAddress => 'ruz at bestpractical.com');
- $signer->PrincipalObj->GrantRight(Right => 'CreateTicket');
-
- email_ok(glob => "encrypted-badsig.txt",
- subject => "test",
- encrypted => 1,
- content => qr/test/,
- );
-}
-
if (0) {
# XXX: need to generate these mails
diag "no signature" if $ENV{TEST_VERBOSE};
More information about the Rt-commit
mailing list