fix test SocketStreamTest for Windows
This commit is contained in:
parent
d5e8d6ed88
commit
a46fce402c
@ -20,7 +20,7 @@ class SocketStreamTest extends TestCase
|
|||||||
public function testSocketErrorNoConnection()
|
public function testSocketErrorNoConnection()
|
||||||
{
|
{
|
||||||
$this->expectException(TransportException::class);
|
$this->expectException(TransportException::class);
|
||||||
$this->expectExceptionMessageMatches('/Connection refused|unable to connect/');
|
$this->expectExceptionMessageMatches('/Connection refused|unable to connect/i');
|
||||||
$s = new SocketStream();
|
$s = new SocketStream();
|
||||||
$s->setTimeout(0.1);
|
$s->setTimeout(0.1);
|
||||||
$s->setPort(9999);
|
$s->setPort(9999);
|
||||||
|
Reference in New Issue
Block a user