]> iEval git - www-offliberty.git/commitdiff
Use Test::RequiresInternet instead of LWP::Online
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 12 Jul 2015 10:12:38 +0000 (13:12 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 12 Jul 2015 10:12:38 +0000 (13:12 +0300)
Makefile.PL
t/50-network.t

index 36089b8cf904c55f6ac8218f82a6fe74971a5dec..a123b4058170c9468a514297f503c867ad13931f 100644 (file)
@@ -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        => {
index ef9b682f19aedaa0850f0fb47399d2d698939029..59e77b158ca3fc75a5967e891866b8afb06bee35 100644 (file)
@@ -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/;
 
This page took 0.020703 seconds and 4 git commands to generate.