From: Marius Gavrilescu Date: Fri, 21 Nov 2014 15:27:35 +0000 (+0200) Subject: Use Test::RequiresInternet X-Git-Tag: 0.001003~3 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=a1d7294ba7262b71bc28353903f89c8134805fa3;p=www-search-torrentz.git Use Test::RequiresInternet --- diff --git a/Makefile.PL b/Makefile.PL index 598ec97..edcedc3 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/WWW-Search-Torrentz.t b/t/WWW-Search-Torrentz.t index 295c359..64116f7 100644 --- a/t/WWW-Search-Torrentz.t +++ b/t/WWW-Search-Torrentz.t @@ -3,7 +3,9 @@ use strict; use warnings; use WWW::Search::Test; +use Test::RequiresInternet qw/torrentz.eu 443/; use Test::More; + BEGIN { use_ok('WWW::Search::Torrentz') }; tm_new_engine('Torrentz');