[Rt-commit] r5142 - in rt/branches/3.5-TESTING: lib/t/regression

kevinr at bestpractical.com kevinr at bestpractical.com
Mon May 1 15:18:03 EDT 2006


Author: kevinr
Date: Mon May  1 15:18:02 2006
New Revision: 5142

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/lib/t/regression/26command_line.t

Log:
 r12449 at sad-girl-in-snow:  kevinr | 2006-05-01 15:15:43 -0400
 * Updated the CLI test suite to check that commenting and replying actually
 work now


Modified: rt/branches/3.5-TESTING/lib/t/regression/26command_line.t
==============================================================================
--- rt/branches/3.5-TESTING/lib/t/regression/26command_line.t	(original)
+++ rt/branches/3.5-TESTING/lib/t/regression/26command_line.t	Mon May  1 15:18:02 2006
@@ -66,18 +66,18 @@
 expect_like(qr/Ticket \d+ created/, "Created the ticket");
 
 # add a comment to ticket
-TODO: {
-    local $TODO = "Adding comments/correspondence is broken right now";
     expect_send("comment -m 'comment-$$' $ticket_id", "Adding a comment...");
-    expect_like(qr/Comment added/, "Added the comment");
+    expect_like(qr/Message recorded/, "Added the comment");
     ### should test to make sure it actually got added
     # add correspondance to ticket (?)
     expect_send("correspond -m 'correspond-$$' $ticket_id", "Adding correspondence...");
-    expect_like(qr/Correspondence added/, "Added the correspondence");
+    expect_like(qr/Message recorded/, "Added the correspondence");
     ### should test to make sure it actually got added
+TODO: {
+    local $TODO = "Adding attachments is broken right now";
     # add attachments to a ticket
     expect_send("comment -m 'attach file' $rt_tool_path $ticket_id", "Adding an attachment");
-    expect_like(qr/Comment added/, "Added the attachment");
+    expect_like(qr/Message recorded/, "Added the attachment");
     ### should test to make sure it actually got added
 }
 


More information about the Rt-commit mailing list