[Rt-commit] [rtir] 01/01: no need to restore_rights any more in tests
? sunnavy
sunnavy at bestpractical.com
Sun Apr 28 10:23:23 EDT 2013
This is an automated email from the git hooks/post-receive script.
sunnavy pushed a commit to branch 3.0/cleanup-restore-rights-in-tests
in repository rtir.
commit 9006e07126ffd137459b292f6639f9bb5a11d123
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sun Apr 28 22:19:53 2013 +0800
no need to restore_rights any more in tests
from ruz++: it's from dates when tests were re-entrant.
besides, it fails on sqlite
---
t/gnupg/on-incident.t | 5 -----
1 file changed, 5 deletions(-)
diff --git a/t/gnupg/on-incident.t b/t/gnupg/on-incident.t
index d00d4ba..d2bff1e 100644
--- a/t/gnupg/on-incident.t
+++ b/t/gnupg/on-incident.t
@@ -6,8 +6,6 @@ use warnings;
use RT::IR::Test tests => 40;
use File::Temp qw(tempdir);
-my @rights_backup = RT::Test->store_rights;
-
RT->Config->Set( 'GnuPG',
Enable => 1,
OutgoingMessagesFormat => 'RFC' );
@@ -105,6 +103,3 @@ 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';
}
-
-RT::Test->restore_rights( @rights_backup );
-
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Rt-commit
mailing list