[Rt-commit] r7679 - in rt/branches/3.7-EXPERIMENTAL: .

jesse at bestpractical.com jesse at bestpractical.com
Tue Apr 24 14:32:23 EDT 2007


Author: jesse
Date: Tue Apr 24 14:32:21 2007
New Revision: 7679

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t

Log:
 r56020 at pinglin:  jesse | 2007-04-24 14:25:11 -0400
 * need to specify an empty passphrase, not null, or the passphrase argument gets picked up


Modified: rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t	Tue Apr 24 14:32:21 2007
@@ -75,7 +75,7 @@
         Subject => 'test',
         Data    => ['test'],
     );
-    my %res = RT::Crypt::GnuPG::SignEncrypt( Entity => $entity, Encrypt => 0 );
+    my %res = RT::Crypt::GnuPG::SignEncrypt( Entity => $entity, Encrypt => 0, Passphrase => '' );
     ok( $res{'exit_code'}, "couldn't sign without passphrase");
     ok( $res{'error'}, "error is here" );
     ok( $res{'logger'}, "log is here as well" );


More information about the Rt-commit mailing list