Skip to content

Commit 327107f

Browse files
committed
fix test SocketStreamTest for Windows
1 parent 78b7ffc commit 327107f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Transport/Smtp/Stream/SocketStreamTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SocketStreamTest extends TestCase
2020
public function testSocketErrorNoConnection()
2121
{
2222
$this->expectException(TransportException::class);
23-
$this->expectExceptionMessageMatches('/Connection refused|unable to connect/');
23+
$this->expectExceptionMessageMatches('/Connection refused|unable to connect/i');
2424
$s = new SocketStream();
2525
$s->setTimeout(0.1);
2626
$s->setPort(9999);

0 commit comments

Comments
 (0)