[Rt-commit] r17092 - rtir/2.4/trunk/t

ruz at bestpractical.com ruz at bestpractical.com
Wed Dec 3 20:03:12 EST 2008


Author: ruz
Date: Wed Dec  3 20:03:11 2008
New Revision: 17092

Modified:
   rtir/2.4/trunk/t/019-watchers-on-create.t

Log:
* fix test

Modified: rtir/2.4/trunk/t/019-watchers-on-create.t
==============================================================================
--- rtir/2.4/trunk/t/019-watchers-on-create.t	(original)
+++ rtir/2.4/trunk/t/019-watchers-on-create.t	Wed Dec  3 20:03:11 2008
@@ -92,8 +92,12 @@
 	my $agent = shift;
 	my $id = shift;
 	my $type = shift || 'Correspondents';
+    local $Test::Builder::Level = $Test::Builder::Level + 1;
 
 	display_ticket($agent, $id);
 
-	$agent->content_like(qr{<td class="labeltop">Correspondents:</td>\s*<td class="value">\s*([@\w\.]+)<br />}ms, "Found $type");
+	$agent->content_like(
+        qr{<td class="labeltop">Correspondents:</td>\s*<td class="value">\s*([@\w\.]+)\s*<br />}ms,
+        "Found $type",
+    );
 }


More information about the Rt-commit mailing list