Add author requires so all the tests get run
[catagits/Catalyst-Plugin-Authentication.git] / Makefile.PL
index 3b6e024..f7b4e2b 100644 (file)
@@ -1,4 +1,8 @@
+use strict;
+use warnings;
 use inc::Module::Install 0.87;
+use Module::Install::AuthorRequires;
+use Module::Install::AuthorTests;
 
 if ( $Module::Install::AUTHOR ) {
     system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
@@ -16,11 +20,16 @@ requires 'Class::Inspector';
 requires 'MRO::Compat';
 requires 'Catalyst::Plugin::Session' => '0.10';
 
-test_requires 'Test::More';
+test_requires 'Test::More' => '0.88';
 test_requires 'Test::Exception';
 test_requires 'Class::MOP';
 test_requires 'Moose';
 
+author_requires 'Test::WWW::Mechanize::Catalyst';
+author_requires 'Catalyst::Plugin::Session';
+author_requires 'Catalyst::Plugin::Session::State::Cookie';
+author_requires 'Digest::SHA1';
+
 author_tests 't/author';
 
 auto_install;