From c6569e58c9c401311dd3fb7798a715df61e8fae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Sat, 9 Nov 2024 22:42:01 +0100 Subject: [PATCH] remove assert on exception message in ClientTest.testNetworkExceptionBadURL() --- tests/ClientTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/ClientTest.php b/tests/ClientTest.php index 6480b23..34d1166 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -136,7 +136,6 @@ public function testRequestExceptionBadCAInfos(): void public function testNetworkExceptionBadURL(): void { $this->expectException(NetworkException::class); - $this->expectExceptionMessageMatches('/Could not resolve host: bad-example\.com|Failed to connect to bad-example\.com port 443/'); $client = new Client(); $client->sendRequest(new Request('GET', $this->badURL));