From: Tomas Doran Date: Tue, 13 Dec 2011 16:02:47 +0000 (+0000) Subject: Fix autor deps for Test::NoTabs X-Git-Tag: v0.10019~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Authentication.git;a=commitdiff_plain;h=4a9f962f4f367f75664d70d1e0dfff5669aa69be;hp=8a31d23d60e1b252399a376007d1f2ffe271890b Fix autor deps for Test::NoTabs --- diff --git a/Makefile.PL b/Makefile.PL index 9608ffc..45f8f55 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,7 +7,6 @@ use Module::Install::AuthorTests; if ( $Module::Install::AUTHOR ) { system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ) and die; - require Module::Install::AuthorTests; } perl_version '5.008001'; @@ -25,6 +24,9 @@ test_requires 'Test::Exception'; test_requires 'Class::MOP'; test_requires 'Moose'; +author_requires 'Test::Pod' => '1.14'; +author_requires 'Test::Pod::Coverage' => '1.04'; +author_requires 'Test::NoTabs'; author_requires 'Test::WWW::Mechanize::Catalyst'; author_requires 'Catalyst::Plugin::Session'; author_requires 'Catalyst::Plugin::Session::State::Cookie'; diff --git a/t/author/pod.t b/t/author/pod.t index 1647794..8b24c40 100644 --- a/t/author/pod.t +++ b/t/author/pod.t @@ -1,7 +1,5 @@ use Test::More; -eval "use Test::Pod 1.14"; -plan skip_all => 'Test::Pod 1.14 required' if $@; -plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; +use Test::Pod 1.14; all_pod_files_ok(); diff --git a/t/author/pod_coverage.t b/t/author/pod_coverage.t index d91be5e..66338a3 100644 --- a/t/author/pod_coverage.t +++ b/t/author/pod_coverage.t @@ -1,7 +1,5 @@ use Test::More; -eval "use Test::Pod::Coverage 1.04"; -plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@; -plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; +use Test::Pod::Coverage 1.04; all_pod_coverage_ok();