[Rt-commit] r6099 - in RT-Extension-TicketAging: .
schwern at bestpractical.com
schwern at bestpractical.com
Thu Sep 28 20:22:06 EDT 2006
Author: schwern
Date: Thu Sep 28 20:22:03 2006
New Revision: 6099
Modified:
RT-Extension-TicketAging/ (props changed)
RT-Extension-TicketAging/t/07.reopen.t
Log:
r19442 at Master-Windhund-IV: schwern | 2006-09-28 17:21:51 -0700
$ticket->Load does not DWIM
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 20:22:03 2006
@@ -15,15 +15,17 @@
run_exec_ok;
- $ticket->Load;
+ $ticket->Load($ticket->id);
is $ticket->FirstCustomFieldValue("Age"), 'Finished';
# reopen
$ticket->_Set( Field => 'Status', Value => 'open' );
+ $ticket->Load($ticket->id);
is $ticket->FirstCustomFieldValue("Age"), 'Active';
run_exec_ok;
+ $ticket->Load($ticket->id);
is $ticket->FirstCustomFieldValue("Age"), 'Active';
}
More information about the Rt-commit
mailing list