[Rt-commit] rt branch, 3.999-trunk, updated. 32bd0cb6479a4ca3962c53ec6f81d9203d49cfd9

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Nov 24 03:16:40 EST 2009


The branch, 3.999-trunk has been updated
       via  32bd0cb6479a4ca3962c53ec6f81d9203d49cfd9 (commit)
      from  6add9fca33b9da76111bfff78a640037e86254d5 (commit)

Summary of changes:
 t/web/gnupg-outgoing.t |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 32bd0cb6479a4ca3962c53ec6f81d9203d49cfd9
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Nov 24 16:16:32 2009 +0800

    rescue d8e7cc4a2f: it has been overritten by accident

diff --git a/t/web/gnupg-outgoing.t b/t/web/gnupg-outgoing.t
index 1ea2d7d..7f20488 100644
--- a/t/web/gnupg-outgoing.t
+++ b/t/web/gnupg-outgoing.t
@@ -266,14 +266,13 @@ sub create_a_ticket {
         requestors => 'rt-test at example.com',
         content    => 'Some content',
     ));
-    my $form = $m->action_form('create_ticket');
 
     foreach ( qw(sign encrypt) ) {
         my $field = $m->action_field_input('create_ticket', $_);
         if ( $args{ $_ } ) {
-            $form->tick( $_ => 1 );
+            $field->value(1); 
         } else {
-            $form->untick( $_ => 1 );
+            $field->value(0);
         }
     }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list