mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-19 20:44:50 +01:00
added a test on writingTimeout setter and getter methods
This commit is contained in:
parent
5c129a7f7f
commit
6f19ba38ad
@ -70,6 +70,13 @@ class SocketHandlerTest extends TestCase
|
||||
$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()
|
||||
{
|
||||
$this->createHandler('tcp://localhost:9090');
|
||||
|
Loading…
x
Reference in New Issue
Block a user