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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/HttpTest.php b/tests/PHPUnit/Integration/HttpTest.php
index df02f479ee..dc09b7d7f5 100644
--- a/tests/PHPUnit/Integration/HttpTest.php
+++ b/tests/PHPUnit/Integration/HttpTest.php
@@ -287,7 +287,7 @@ class HttpTest extends \PHPUnit\Framework\TestCase
public function testFopenHttpsFailsWithInvalidCertificate()
{
$this->expectException(\Exception::class);
- $this->expectExceptionMessage('failed to open stream');
+ $this->expectExceptionMessageMatches('/failed to open stream/i');
// use a domain from https://badssl.com/
Http::sendHttpRequestBy('fopen', 'https://self-signed.badssl.com/', 10);