Fix RT#81506
Tomas Doran [Mon, 25 Feb 2013 14:01:38 +0000 (14:01 +0000)]
Changes
t/live_verify_address.t

diff --git a/Changes b/Changes
index 9fe1b3a..19fa518 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension Catalyst::Plugin::Session
 
+      - Fix t/live_verify_address.t to skip of Catalyst::Plugin::Authentication
+        is not installed, fixing RT#81506.
+
 0.36 2012-10-19
        - Re-pack with new Module::Install which doesn't get
          MYMETA.yaml wrong.
index bc58b43..e18ca91 100644 (file)
@@ -16,6 +16,9 @@ BEGIN {
     or plan skip_all =>
         'Test::WWW::Mechanize::PSGI is required for this test';
 
+    eval { require Catalyst::Plugin::Authentication; 1 }
+      or plan skip_all => "Catalyst::Plugin::Authentication is required for this test";
+
     plan tests => 12;
 }