From: Peter Karman Date: Wed, 7 Jul 2010 18:23:48 +0000 (+0000) Subject: skip correct number of tests X-Git-Tag: v1.011~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d7fcddedf837e0e9265e6ab85d45df29b0e40fe;p=catagits%2FCatalyst-Authentication-Store-LDAP.git skip correct number of tests --- diff --git a/Changes b/Changes index 80ee8b3..f3c5c40 100644 --- 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 diff --git a/lib/Catalyst/Authentication/Store/LDAP.pm b/lib/Catalyst/Authentication/Store/LDAP.pm index 7292831..4a43a7c 100644 --- a/lib/Catalyst/Authentication/Store/LDAP.pm +++ b/lib/Catalyst/Authentication/Store/LDAP.pm @@ -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; diff --git a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm index 8cca1d3..5602802 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm @@ -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; diff --git a/lib/Catalyst/Authentication/Store/LDAP/User.pm b/lib/Catalyst/Authentication/Store/LDAP/User.pm index b3cb982..8141bc8 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/User.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/User.pm @@ -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/) } diff --git a/t/05-user_attributes.t b/t/05-user_attributes.t index 33962fc..88d3ac3 100644 --- a/t/05-user_attributes.t +++ b/t/05-user_attributes.t @@ -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();