From: Marius Gavrilescu Date: Sun, 12 Jul 2015 10:12:38 +0000 (+0300) Subject: Use Test::RequiresInternet instead of LWP::Online X-Git-Tag: 1.000~6 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=09f254eddf556b8a0f15da4cdc0acfd2e405d8c3;p=www-offliberty.git Use Test::RequiresInternet instead of LWP::Online --- diff --git a/Makefile.PL b/Makefile.PL index 36089b8..a123b40 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,7 @@ WriteMakefile( MIN_PERL_VERSION => '5.14.0', LICENSE => 'perl', BUILD_REQUIRES => { - qw/LWP::Online 0/, + qw/Test::RequiresInternet 0/, }, SIGN => 1, PREREQ_PM => { diff --git a/t/50-network.t b/t/50-network.t index ef9b682..59e77b1 100644 --- a/t/50-network.t +++ b/t/50-network.t @@ -2,7 +2,7 @@ use strict; use warnings; -use LWP::Online ':skip_all'; +use Test::RequiresInternet 'offliberty.com' => 80; use Test::More tests => 2; use WWW::Offliberty qw/off/;