mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-03 11:47:38 +02:00
added a test on writingTimeout setter and getter methods
This commit is contained in:
@@ -70,6 +70,13 @@ class SocketHandlerTest extends TestCase
|
|||||||
$this->assertEquals(10.25, $this->handler->getTimeout());
|
$this->assertEquals(10.25, $this->handler->getTimeout());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testSetWritingTimeout()
|
||||||
|
{
|
||||||
|
$this->createHandler('localhost:1234');
|
||||||
|
$this->handler->setWritingTimeout(10.25);
|
||||||
|
$this->assertEquals(10.25, $this->handler->getWritingTimeout());
|
||||||
|
}
|
||||||
|
|
||||||
public function testSetConnectionString()
|
public function testSetConnectionString()
|
||||||
{
|
{
|
||||||
$this->createHandler('tcp://localhost:9090');
|
$this->createHandler('tcp://localhost:9090');
|
||||||
|
Reference in New Issue
Block a user