diff --git a/tests/Transport/Base.php b/tests/Transport/Base.php index 95d03560e..c1f30f3fa 100755 --- a/tests/Transport/Base.php +++ b/tests/Transport/Base.php @@ -525,15 +525,15 @@ public function testBadDomain() { return; } - $request = Requests::get('https://wrong.host.badssl.com/', array(), $this->getOptions()); + $request = Requests::head('https://wrong.host.badssl.com/', array(), $this->getOptions()); } /** * Test that the transport supports Server Name Indication with HTTPS * - * sni.velox.ch is used for SNI testing, and the common name is set to - * `*.sni.velox.ch` as such. Without alternate name support, this will fail - * as `sni.velox.ch` is only in the alternate name + * badssl.com is used for SSL testing, and the common name is set to + * `*.badssl.com` as such. Without alternate name support, this will fail + * as `badssl.com` is only in the alternate name */ public function testAlternateNameSupport() { if ($this->skip_https) { @@ -541,16 +541,15 @@ public function testAlternateNameSupport() { return; } - $request = Requests::get('https://sni.velox.ch/', array(), $this->getOptions()); + $request = Requests::head('https://badssl.com/', array(), $this->getOptions()); $this->assertEquals(200, $request->status_code); } /** * Test that the transport supports Server Name Indication with HTTPS * - * sni.velox.ch is used for SNI testing, and the common name is set to - * `*.sni.velox.ch` as such. Without SNI support, this will fail. Also tests - * our wildcard support. + * feelingrestful.com (owned by hmn.md and used with permission) points to + * CloudFlare, and will fail if SNI isn't sent. */ public function testSNISupport() { if ($this->skip_https) { @@ -558,7 +557,7 @@ public function testSNISupport() { return; } - $request = Requests::get('https://abc.sni.velox.ch/', array(), $this->getOptions()); + $request = Requests::head('https://feelingrestful.com/', array(), $this->getOptions()); $this->assertEquals(200, $request->status_code); }