From 09f254eddf556b8a0f15da4cdc0acfd2e405d8c3 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 12 Jul 2015 13:12:38 +0300 Subject: [PATCH] Use Test::RequiresInternet instead of LWP::Online --- Makefile.PL | 2 +- t/50-network.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/; -- 2.39.2