Skip to content

Commit

Permalink
remove assert on exception message in ClientTest.testNetworkException…
Browse files Browse the repository at this point in the history
…BadURL()
  • Loading branch information
rancoud committed Nov 9, 2024
1 parent 75cb5f9 commit c6569e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c6569e5

Please sign in to comment.