0.11
[Net-HTTPS-Any.git] / t / post-cryptssleay.t
index 168f1ea..f77fa32 100644 (file)
@@ -5,6 +5,9 @@ use warnings;
 use Test::More;
 
 BEGIN {
+
+  plan skip_all => "LWP tests disabled to avoid excessive dependencies";
+
   plan( tests=>4 );
   $Net::HTTPS::Any::skip_NetSSLeay=1;
   $Net::HTTPS::Any::skip_NetSSLeay=1;
@@ -30,9 +33,10 @@ ok( length($content), 'Received content' );
 #404
 
 my($content2, $response2, %headers2) = https_post(
-  { 'host' => 'www.fortify.net',
+  { 'host' => 'www.google.com',
     'port' => 443,
     'path' => '/notfound.html',
+    'args' => { 'length' => 'required' },
   },
   'net_https_any_test' => 1,
 );