[Rt-commit] r6097 - in RT-Extension-TicketAging: .

schwern at bestpractical.com schwern at bestpractical.com
Thu Sep 28 19:26:15 EDT 2006


Author: schwern
Date: Thu Sep 28 19:26:14 2006
New Revision: 6097

Modified:
   RT-Extension-TicketAging/   (props changed)
   RT-Extension-TicketAging/t/07.reopen.t

Log:
 r19437 at Master-Windhund-IV:  schwern | 2006-09-28 16:26:00 -0700
 Wrote the test wrong.  I was creating a new ticket rather than reopening the
 existing one.


Modified: RT-Extension-TicketAging/t/07.reopen.t
==============================================================================
--- RT-Extension-TicketAging/t/07.reopen.t	(original)
+++ RT-Extension-TicketAging/t/07.reopen.t	Thu Sep 28 19:26:14 2006
@@ -19,7 +19,9 @@
     is $ticket->FirstCustomFieldValue("Age"), 'Finished';
 
     # reopen
-    $ticket->Create( Queue => 'General', Status => 'open' );
+    $ticket->_Set( Field => 'Status', Value => 'open' );
+
+    is $ticket->FirstCustomFieldValue("Age"), 'Active';
 
     run_exec_ok;
 


More information about the Rt-commit mailing list