diff --git a/tests/Transport/Base.php b/tests/Transport/Base.php index d140019eb..96a6d7d7e 100755 --- a/tests/Transport/Base.php +++ b/tests/Transport/Base.php @@ -410,6 +410,20 @@ public function testHTTPS() { $this->assertEmpty($result['args']); } + /** + * @expectedException Requests_Exception + */ + public function testExpiredHTTPS() { + $request = Requests::get('https://testssl-expire.disig.sk/index.en.html', array(), $this->getOptions()); + } + + /** + * @expectedException Requests_Exception + */ + public function testRevokedHTTPS() { + $request = Requests::get('https://testssl-revoked.disig.sk/index.en.html', array(), $this->getOptions()); + } + /** * @expectedException Requests_Exception */