From: Marius Gavrilescu Date: Sat, 8 Nov 2014 21:39:27 +0000 (+0200) Subject: Use Test::RequiresInternet X-Git-Tag: 0.001~1 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=ff5b31daaf6c49f2b4e7a6d130a3baba85544060;p=www-search-coveralia.git Use Test::RequiresInternet --- diff --git a/Makefile.PL b/Makefile.PL index 6bdd9d1..6c30387 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,8 @@ WriteMakefile( LICENSE => 'perl', SIGN => 1, BUILD_REQUIRES => { - qw/WWW::Search::Test 0/ + qw/Test::RequiresInternet 0 + WWW::Search::Test 0/ }, PREREQ_PM => { qw/HTML::TreeBuilder 0 diff --git a/t/albums.t b/t/albums.t index 7fbada8..08d23bc 100644 --- a/t/albums.t +++ b/t/albums.t @@ -5,6 +5,7 @@ use warnings; use List::Util qw/first/; use WWW::Search::Test; +use Test::RequiresInternet qw/www.coveralia.com 80/; use Test::More tests => 11; tm_new_engine('Coveralia::Albums'); diff --git a/t/artists.t b/t/artists.t index 8da2411..2ae67df 100644 --- a/t/artists.t +++ b/t/artists.t @@ -5,6 +5,7 @@ use warnings; use List::Util qw/first/; use WWW::Search::Test; +use Test::RequiresInternet qw/www.coveralia.com 80/; use Test::More tests => 9; tm_new_engine('Coveralia::Artists');