From 40954389a0f50f07dcb804cc5353c95d7d4502dd Mon Sep 17 00:00:00 2001 From: Robin Mleziva Date: Fri, 13 May 2022 11:16:19 +0200 Subject: [PATCH] Fixed test --- tests/Smtp/AsyncSmtpConnectionIntegrationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Smtp/AsyncSmtpConnectionIntegrationTest.php b/tests/Smtp/AsyncSmtpConnectionIntegrationTest.php index b5acf08..667d50a 100644 --- a/tests/Smtp/AsyncSmtpConnectionIntegrationTest.php +++ b/tests/Smtp/AsyncSmtpConnectionIntegrationTest.php @@ -80,7 +80,7 @@ public function testInvalidHostName(): void $this->assertInstanceOf(RuntimeException::class, $exception); $this->assertStringStartsWith( sprintf( - 'Connection to %s:%s failed: php_network_getaddresses: getaddrinfo failed', + 'Connection to %1$s:%2$s failed: php_network_getaddresses: getaddrinfo for %1$s failed: Name or service not known', $settings->getHost(), $settings->getPort(), ),