[Rt-commit] r6346 - in rt/branches/3.7-EXPERIMENTAL: .

schwern at bestpractical.com schwern at bestpractical.com
Wed Nov 1 18:56:47 EST 2006


Author: schwern
Date: Wed Nov  1 18:56:47 2006
New Revision: 6346

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/t/regression/27-make_clicky.t

Log:
 r25007 at windhund:  schwern | 2006-11-01 18:37:06 -0500
 The make_clicky test had a double plan.


Modified: rt/branches/3.7-EXPERIMENTAL/lib/t/regression/27-make_clicky.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/t/regression/27-make_clicky.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/t/regression/27-make_clicky.t	Wed Nov  1 18:56:47 2006
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More qw(no_plan);
+use Test::More;
 
 BEGIN {
     use RT;
@@ -12,7 +12,10 @@
 }
 
 my %clicky = map { $_ => 1 } grep $_, RT->Config->Get('Active_MakeClicky');
-unless ( keys %clicky ) {
+if ( keys %clicky ) {
+    plan 'no_plan';
+}
+else {
     plan skip_all => 'No active Make Clicky actions';
 }
 


More information about the Rt-commit mailing list