fix test failures (closes: CPAN#116405)
[Net-HTTPS-Any.git] / t / post-netssleay.t
index d5065b9..80c2863 100644 (file)
@@ -11,9 +11,9 @@ BEGIN {
 
 #200
 my($content, $response, %headers) = https_post(
-  { 'host' => 'www.google.com',
+  { 'host' => 'accounts.google.com',
     'port' => 443,
-    'path' => '/accounts/ServiceLoginAuth',
+    'path' => '/ServiceLogin',
     'args' => { 'posted' => 'data' },
   },
   'net_https_any_test' => 1,
@@ -27,9 +27,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,
 );