Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Integration/HttpTest.php')
-rw-r--r--tests/PHPUnit/Integration/HttpTest.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/PHPUnit/Integration/HttpTest.php b/tests/PHPUnit/Integration/HttpTest.php
index afa068bdf4..1fdec7b6ed 100644
--- a/tests/PHPUnit/Integration/HttpTest.php
+++ b/tests/PHPUnit/Integration/HttpTest.php
@@ -260,12 +260,9 @@ class HttpTest extends \PHPUnit_Framework_TestCase
Http::sendHttpRequestBy('fopen', 'https://self-signed.badssl.com/', 10);
}
- /**
- * We check that HTTPS is not supported with the "socket" method
- */
- public function testSocketHttpsWorksEvenWithInvalidCertificate()
+ public function testSocketHttpsWorksWithValidCertificate()
{
- $result = Http::sendHttpRequestBy('socket', 'https://divezone.net', 10);
+ $result = Http::sendHttpRequestBy('socket', 'https://divezone.net/', 10);
$this->assertNotEmpty($result);
}
}