Skip to content

Commit

Permalink
Merge pull request #185 from rmccue/use-better-ssl-test-domain
Browse files Browse the repository at this point in the history
Use wrong.host.badssl.com for SSL domain check test
  • Loading branch information
rmccue committed Oct 14, 2015
2 parents de80c86 + d0b9f33 commit ad6c337
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Transport/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,6 @@ public function testRevokedHTTPS() {
/**
* Test that SSL fails with a bad certificate
*
* This is defined as invalid by
* https://onlinessl.netlock.hu/en/test-center/invalid-ssl-certificate.html
* and is used in testing in PhantomJS. That said, expect this to break.
*
* @expectedException Requests_Exception
*/
public function testBadDomain() {
Expand All @@ -519,7 +515,7 @@ public function testBadDomain() {
return;
}

$request = Requests::get('https://tv.eurosport.com/', array(), $this->getOptions());
$request = Requests::get('https://wrong.host.badssl.com/', array(), $this->getOptions());
}

/**
Expand Down

0 comments on commit ad6c337

Please sign in to comment.