[Bps-public-commit] r8718 - RT-Extension-TicketLocking/t

ruz at bestpractical.com ruz at bestpractical.com
Fri Aug 24 10:23:53 EDT 2007


Author: ruz
Date: Fri Aug 24 10:23:53 2007
New Revision: 8718

Modified:
   RT-Extension-TicketLocking/t/rtir.t

Log:
* make test less strict to text
** 100% pass

Modified: RT-Extension-TicketLocking/t/rtir.t
==============================================================================
--- RT-Extension-TicketLocking/t/rtir.t	(original)
+++ RT-Extension-TicketLocking/t/rtir.t	Fri Aug 24 10:23:53 2007
@@ -250,7 +250,7 @@
 $agent->field("SelectedTicket", $ir_id2);
 $agent->submit();
 diag("Submitted Merge form") if $ENV{'TEST_VERBOSE'};
-$agent->content_like(qr{<div class="locked-by-you">\s*You have locked this ticket\.}ims, "Lock from $report moved to $ir_id2");
+$agent->content_like(qr{<div class="locked-by-you">}ims, "Lock from $report moved to $ir_id2");
 $report = $ir_id2;
 $agent->follow_link_ok({text => 'Unlock', n => '1'}, "Removing hard lock on IR $report");
 



More information about the Bps-public-commit mailing list