mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Allow UdpSocket to reconnect after close()
This commit is contained in:
@@ -58,10 +58,8 @@ class UdpSocketTest extends TestCase
|
||||
$socket->close();
|
||||
}
|
||||
|
||||
public function testWriteAfterCloseErrors()
|
||||
public function testWriteAfterCloseReopened()
|
||||
{
|
||||
$this->expectException(\RuntimeException::class);
|
||||
|
||||
$socket = new UdpSocket('127.0.0.1', 514);
|
||||
$socket->close();
|
||||
$socket->write('foo', "HEADER");
|
||||
|
Reference in New Issue
Block a user