diff --git a/Changes b/Changes index e63ee1ea..11e4138a 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for WWW::Mechanize {{$NEXT}} + - Bump HTTP::Daemon test dependency to 6.10 (GH#300) (Olaf Alders) 1.98 2020-05-25 17:06:47Z (TRIAL RELEASE) - Don't make assumptions about port 80 in test (GH#299) (Olaf Alders) diff --git a/dist.ini b/dist.ini index 28cd83c5..27029048 100644 --- a/dist.ini +++ b/dist.ini @@ -27,6 +27,7 @@ Scalar::Util = 1.14 [Prereqs / TestRequires] CGI = 4.32 +HTTP::Daemon = 6.10 [Prereqs / DevelopRequires] LWP::Protocol::https = 6.07 diff --git a/t/local/back.t b/t/local/back.t index b3b1641d..92fb7925 100644 --- a/t/local/back.t +++ b/t/local/back.t @@ -3,7 +3,6 @@ use strict; use Test::More tests => 47; use lib qw( t t/local ); use LocalServer; -use HTTP::Daemon 6.05; use HTTP::Response; diff --git a/t/local/log-server b/t/local/log-server index ca850036..3e45ce27 100644 --- a/t/local/log-server +++ b/t/local/log-server @@ -1,6 +1,6 @@ # Thanks to merlyn for nudging me and giving me this snippet! use strict; -use HTTP::Daemon 6.05; +use HTTP::Daemon (); use CGI 4.08; use Getopt::Long; use Socket (); diff --git a/t/local/referer-server b/t/local/referer-server index 7db693fb..538e9bee 100644 --- a/t/local/referer-server +++ b/t/local/referer-server @@ -1,6 +1,6 @@ # Thanks to merlyn for nudging me and giving me this snippet! -use HTTP::Daemon 6.05; +use HTTP::Daemon (); use URI::URL; use Socket (); diff --git a/t/local/referer.t b/t/local/referer.t index 87dadaab..9ea193bd 100644 --- a/t/local/referer.t +++ b/t/local/referer.t @@ -19,9 +19,6 @@ my $agent = WWW::Mechanize->new(); isa_ok( $agent, 'WWW::Mechanize' ); SKIP: { - eval { require HTTP::Daemon; HTTP::Daemon->VERSION(6.05); }; - skip 'HTTP::Daemon required to test the referrer header',10 if $@; - # We want to be safe from non-resolving local host names delete $ENV{HTTP_PROXY};