X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=t%2Fpost-netssleay.t;h=80c286391f937cdceec2c5f839725bf88b4111aa;hb=10b53bacd2d2387381f9e49389fef0c9aaa46ac6;hp=307bdb3fa2ef8bb83ff095b2375699574854f658;hpb=90eca2090a47dd4755de4fa707597ff2c025ecaa;p=Net-HTTPS-Any.git diff --git a/t/post-netssleay.t b/t/post-netssleay.t index 307bdb3..80c2863 100644 --- a/t/post-netssleay.t +++ b/t/post-netssleay.t @@ -10,11 +10,11 @@ BEGIN { }; #200 - my($content, $response, %headers) = https_post( - { 'host' => 'secure.sisd.com', + { 'host' => 'accounts.google.com', 'port' => 443, - 'path' => '/freeside/index.html', + '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' => 'secure.sisd.com', + { 'host' => 'www.google.com', 'port' => 443, - 'path' => '/freeside/notfound.html', + 'path' => '/notfound.html', + 'args' => { 'length' => 'required' }, }, 'net_https_any_test' => 1, );