[Rt-commit] r15919 - in rt/3.8/trunk: t/web

sartak at bestpractical.com sartak at bestpractical.com
Thu Sep 11 05:18:09 EDT 2008


Author: sartak
Date: Thu Sep 11 05:17:44 2008
New Revision: 15919

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/t/web/command_line.t

Log:
 r71656 at onn:  sartak | 2008-09-11 05:17:24 -0400
 todo test for not generating a "already a requestor" warning when two tickets requested by the same principle are merged.
 
 If nothing else it quiets a spurious warnings


Modified: rt/3.8/trunk/t/web/command_line.t
==============================================================================
--- rt/3.8/trunk/t/web/command_line.t	(original)
+++ rt/3.8/trunk/t/web/command_line.t	Thu Sep 11 05:17:44 2008
@@ -3,7 +3,7 @@
 use strict;
 use File::Spec ();
 use Test::Expect;
-use Test::More tests => 241;
+use Test::More tests => 243;
 use RT::Test;
 my ($baseurl, $m) = RT::Test->started_ok;
 
@@ -333,6 +333,12 @@
 ok($merge_ticket_B, "Got second ticket to merge id=$merge_ticket_B");
 expect_send("merge $merge_ticket_B $merge_ticket_A", 'Merging the tickets...');
 expect_like(qr/Merge completed/, 'Merged the tickets');
+
+TODO: {
+    local $TODO = "we generate a spurious warning here";
+    $m->no_warnings_ok;
+}
+
 expect_send("show ticket/$merge_ticket_A/history", 'Checking merge on first ticket');
 expect_like(qr/Merged into ticket #$merge_ticket_A by root/, 'Merge recorded in first ticket');
 expect_send("show ticket/$merge_ticket_B/history", 'Checking merge on second ticket');


More information about the Rt-commit mailing list