From ff5b31daaf6c49f2b4e7a6d130a3baba85544060 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 8 Nov 2014 23:39:27 +0200 Subject: [PATCH] Use Test::RequiresInternet --- Makefile.PL | 3 ++- t/albums.t | 1 + t/artists.t | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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'); -- 2.39.2