skip correct number of tests
Peter Karman [Wed, 7 Jul 2010 18:23:48 +0000 (18:23 +0000)]
Changes
lib/Catalyst/Authentication/Store/LDAP.pm
lib/Catalyst/Authentication/Store/LDAP/Backend.pm
lib/Catalyst/Authentication/Store/LDAP/User.pm
t/05-user_attributes.t

diff --git a/Changes b/Changes
index 80ee8b3..f3c5c40 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+1.011  xxx
+  - fix t/05-user_attributes.t to skip correct number of tests if 
+    Catalyst::Model::LDAP is not installed.
 
 1.010  6 July 201
   - Make AUTOLOAD method work for ->dn by generically calling has_attribute
index 7292831..4a43a7c 100644 (file)
@@ -3,7 +3,7 @@ package Catalyst::Authentication::Store::LDAP;
 use strict;
 use warnings;
 
-our $VERSION = '1.010';
+our $VERSION = '1.011';
 
 use Catalyst::Authentication::Store::LDAP::Backend;
 
index 8cca1d3..5602802 100644 (file)
@@ -72,7 +72,7 @@ use base qw( Class::Accessor::Fast );
 use strict;
 use warnings;
 
-our $VERSION = '1.010';
+our $VERSION = '1.011';
 
 use Catalyst::Authentication::Store::LDAP::User;
 use Net::LDAP;
index b3cb982..8141bc8 100644 (file)
@@ -50,7 +50,7 @@ use strict;
 use warnings;
 use Scalar::Util qw/refaddr/;
 
-our $VERSION = '1.010';
+our $VERSION = '1.011';
 
 BEGIN { __PACKAGE__->mk_accessors(qw/user store/) }
 
index 33962fc..88d3ac3 100644 (file)
@@ -12,7 +12,7 @@ SKIP: {
 
     eval "use Catalyst::Model::LDAP";
     if ($@) {
-        skip "Catalyst::Model::LDAP not installed", 6;
+        skip "Catalyst::Model::LDAP not installed", 9;
     }
 
     my $server = LDAPTest::spawn_server();