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

sartak at bestpractical.com sartak at bestpractical.com
Tue Nov 24 01:43:02 EST 2009


The branch, 3.999-trunk has been updated
       via  d8e7cc4a2f30d018a1e3dd5c24c25b81ed6049b9 (commit)
      from  2e4c772eb31a2ccbf4827aa75aad457d4399cfa4 (commit)

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

- Log -----------------------------------------------------------------
commit d8e7cc4a2f30d018a1e3dd5c24c25b81ed6049b9
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Nov 24 01:42:45 2009 -0500

    tick/untick doesn't work on fields, gotta use ->value

diff --git a/t/web/gnupg-outgoing.t b/t/web/gnupg-outgoing.t
index 20af62d..8dc10c1 100644
--- a/t/web/gnupg-outgoing.t
+++ b/t/web/gnupg-outgoing.t
@@ -265,13 +265,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