[Rt-commit] r9074 - in rtir/branches/2.3-EXPERIMENTAL: . t
sartak at bestpractical.com
sartak at bestpractical.com
Mon Sep 17 16:08:32 EDT 2007
Author: sartak
Date: Mon Sep 17 16:08:31 2007
New Revision: 9074
Modified:
rtir/branches/2.3-EXPERIMENTAL/ (props changed)
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html
rtir/branches/2.3-EXPERIMENTAL/t/021-gnupg.t
Log:
r42764 at onn: sartak | 2007-09-17 16:08:24 -0400
This makes all but the last 3 tests pass, but is it the right thing? (removing $ARGS{'Create'} check in gpg handling). Doesn't seem to cause any weird behavior when manually testing, so it's probably OK
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html Mon Sep 17 16:08:31 2007
@@ -406,7 +406,7 @@
push @results, $m->comp( 'SELF:ProcessAttachments', %ARGS );
my @gnupg_keys_issues;
-if ( $ARGS{'Create'} && $ARGS{'Encrypt'} ) {
+if ( $ARGS{'Encrypt'} ) {
my @recipients = $m->comp(
'/Ticket/Elements/PreviewScrips:GetRecipientsOnCreate',
Modified: rtir/branches/2.3-EXPERIMENTAL/t/021-gnupg.t
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/t/021-gnupg.t (original)
+++ rtir/branches/2.3-EXPERIMENTAL/t/021-gnupg.t Mon Sep 17 16:08:31 2007
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More tests => 46;
+use Test::More tests => 42;
use File::Temp qw(tempdir);
use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
@@ -29,6 +29,10 @@
RT::Test->set_mail_catcher;
+RT->Config->Set( 'GnuPG',
+ Enable => 1,
+ OutgoingMessagesFormat => 'RFC' );
+
RT->Config->Set( GnuPGOptions =>
homedir => scalar tempdir( CLEANUP => 0 ),
passphrase => 'rt-test',
More information about the Rt-commit
mailing list