From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sun, 10 Nov 2024 08:56:23 +0100
Subject: [HttpClient] Temporary test hack
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Since php-symfony-http-client is part of the Build-Dependency chain, the
“old” version is used at build time, so the “new” error message is not
yet available. This patch can be dropped for the next upload.
---
 .../Component/HttpClient/Tests/NoPrivateNetworkHttpClientTest.php       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Symfony/Component/HttpClient/Tests/NoPrivateNetworkHttpClientTest.php b/src/Symfony/Component/HttpClient/Tests/NoPrivateNetworkHttpClientTest.php
index 7130c09..9fdf110 100755
--- a/src/Symfony/Component/HttpClient/Tests/NoPrivateNetworkHttpClientTest.php
+++ b/src/Symfony/Component/HttpClient/Tests/NoPrivateNetworkHttpClientTest.php
@@ -95,7 +95,7 @@ class NoPrivateNetworkHttpClientTest extends TestCase
 
         if ($mustThrow) {
             $this->expectException(TransportException::class);
-            $this->expectExceptionMessage(sprintf('Host "%s" is blocked for "%s".', $ipAddr, $url));
+            $this->expectExceptionMessage(sprintf('"%s" is blocked for "%s".', $ipAddr, $url));
         }
 
         $previousHttpClient = $this->getHttpClientMock($url, $ipAddr, $content);
