Add plans to tests so that aggregate smoke results work correctly. Without a plan...
Tomas Doran [Sat, 18 Oct 2008 16:05:24 +0000 (16:05 +0000)]
Changes
t/live_app.t
t/live_app_realms.t
t/live_app_realms_compat.t

diff --git a/Changes b/Changes
index facc8a8..ccad9d3 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,6 +2,8 @@ Revision history for Perl extension Catalyst::Plugin::Authentication
 
 0.1XXX  XXXX
         - Update tests prereqs to include Test::Exception (RT #36339)
+        - Update live tests to have plans, so that smoke tests against
+         5.80 don't give false positives (t0m)
 
 0.10007_01 2008-06-05
         - Some documentation fixes (including RT #36062)
index af9042c..d3da817 100644 (file)
@@ -1,11 +1,10 @@
 use strict;
 use warnings;
 
-use Test::More;
+use Test::More tests => 1;
 
 BEGIN {
     plan skip_all => "Digest::SHA1 is required for this test" unless eval { require Digest::SHA1 };
-    plan "no_plan";
 }
 
 use lib 't/lib';
index db6efb2..0e1fbc6 100644 (file)
@@ -1,11 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More;
-
-BEGIN {
-    plan "no_plan";
-}
+use Test::More tests => 1;
 
 use lib 't/lib';
 use Catalyst::Test qw/AuthRealmTestApp/;
index 5deccf1..a4bbbbb 100644 (file)
@@ -1,11 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More;
-
-BEGIN {
-    plan "no_plan";
-}
+use Test::More tests => 1;
 
 use lib 't/lib';
 use Catalyst::Test qw/AuthRealmTestAppCompat/;